Microprogrammed Control System for digital computers, offering an elegant alternative to hardwired control units.
Detailed low-level instructions (micro-ops) for CPU to implement complex machine instructions.
Symbolic microprogram translated into binary, with fields like label, microoperations, CD, BR, and AD.
Configured using a block diagram, assuming a ROM for permanent storage of control information.
Steps during a computer instruction execution:
- Step-1: Load initial address.
- Step-2: Determine operand's effective address.
- Step-3: Generate microoperations based on instruction code.
- Step-4: Execute instruction and return to the fetch routine.
1-bit indirect addressing, 4-bit opcode, and 11-bit address field.
Examples:
- ADD: Adds operand to AC.
- BRANCH: Branches if AC is negative.
- STORE: Transfers AC content to memory.
- EXCHANGE: Swaps data between AC and memory.
20 bits with F1, F2, F3, CD, BR, and AD fields.
- FETCH AND DECODE: AR <- PC, DR <- M[AR], PC++, Read, Increment PC, Read DR, Transfer to AR and CAR.
- INDIRECT: Read, Transfer to DR and return.
- ADD: Read EA to DR, AC += DR, NOP, Call Indirect, Read, Jump to Fetch.
- STORE: M[EA] <- AC, NOP, Call Indirect, AC to DR, Write, Jump to Fetch.
- EXCHANGE: M[EA] <-> AC, NOP, Call Indirect, Read, Transfer to DR and AC, Write, Jump to Fetch.
- BRANCH: If (AC < 0), PC <- EA, NOP, Jump to Fetch.
Logisim is employed to simulate and visualize the functionality of the Basic Computer. It provides an intuitive toolbar interface and supports the design of digital logic circuits.
→ Open Logisim.
→ Load the provided circuit file (MAIN CIRCUIT.circ).
→ Simulate the circuit to observe the Basic Computer's behavior.
- Shubham Dwivedi
- Shashvat Tiwari
- Vaibhav Mishra
- Thanks to Dr. Alok Kumar (HOD, IT Department, UIET Kanpur) for helping through out working on this project.