Explain the instruction format of basic computer. Write down symbolic representation for FETCH routine.
Question
Explain the instruction format of basic computer. Write down symbolic representation for FETCH routine.
Solution
The instruction format of a basic computer is typically divided into three parts: the operation code (opcode), the indirect address bit, and the address.
-
Operation Code (Opcode): This is the first part of the instruction format. It specifies the operation to be performed, such as ADD, SUB, MUL, DIV, LOAD, STORE, etc.
-
Indirect Address Bit: This is the second part of the instruction format. It is used to specify whether the given address is direct or indirect. If the indirect address bit is 0, the address is direct. If it is 1, the address is indirect.
-
Address: This is the third part of the instruction format. It specifies the memory address of the operand.
The symbolic representation for the FETCH routine can be written as follows:
-
PC out, MAR in: This transfers the content of the Program Counter (PC) to the Memory Address Register (MAR).
-
Read Memory: This reads the content of the memory location specified by the MAR into the Memory Buffer Register (MBR).
-
MBR out, IR in: This transfers the content of the MBR to the Instruction Register (IR).
-
PC increment: This increments the PC by 1 to point to the next instruction.
So, the symbolic representation for the FETCH routine can be written as:
PC out, MAR in
Read Memory
MBR out, IR in
PC increment
Similar Questions
Discuss various types of instruction formats
Explain various Data Manipulation instructions with examples
The Instruction fetch phase ends with _________
Instruction interpreter in a general-purpose hardware configuration interprets each instruction and generates _________.Select one:A.control signals.B.machine codes.C.commands.D.assembly codes.
Which part of the computer fetches the next instruction during the fetch-execute cycle
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.