Question: ) When the following program is given, show the process of executing the program in the form shown below.? (please solve No.6) Opcode(4-bit) adress(12-bit) types
) When the following program is given, show the process of executing the program in the form shown below.? (please solve No.6)
Opcode(4-bit) adress(12-bit)
types of statement :
0001 : add to AC from memory
0010 : jump to memory
0011 : store AC to memory.
0100 : load AC from memory.
It is assumed that the code to be executed is stored from the memory address 400 and the data is stored from the address 940.


CPU Registers CPU Memory Memory Registers PC 400 PC 400 AC 401 IR 402 MAR 403 MBR 404 400 4941 401 2403 402 4940 403 1940 404 3940 AC IR MAR MBR 940 2941 941 1941 940 941 Fetch Execute CPU Registers CPU Memory Memory Registers PC 400 PC 400 AC 401 IR 402 MAR 403 MBR 404 400 4941 401 2403 402 4940 403 1940 404 3940 AC IR MAR MBR 940 2941 941 1941 940 941 Fetch Execute
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
