1.
(Instruction Making)
The first step , the PC contains the numbers 300. where the 300 numbers
come from the first address given command of the memory . Then , the command in
hexadecimal form (1940 ) entered and stored in the IR so that the value of IR into
1940 .
2.
(Instruction Execution)
In the 2nd Step,
after IR contains the value 1940, it resulted in the AC must be filled with the
value at address 940. Why 940 choosen ? Not another address such as 450 , 560
or another , it happens because the value of the AC is to be filled using the
value of the IR itself. In other words , the value of the AC will adjust the
value contained in the IR because we will take 3 hexadecimal digits contained
in the IR . In this example the value of the IR 1940, then the existing values
are taken at address 1940 ( 940 ).
3.
(Instruction Making)
After the
contents of the PC plus one (incremented) So that it becomes 301 means that the
next instruction to be fetched from memory and executed is located in memory
address 301 , the instruction with code 5941. Then , the order of the address
stored in the memory 301 so that the value of the IR 5941 and IR -value PC
worth 301 .
4.
(Instruction Execution)
The fourth step
, the AC will take the value contained at the address 941. However , the AC
does not change as the PC and IR , AC will ditambkan with the previous value
0003. So the value of the AC current into 0005 ( 0002 were found in step 3 +
0003 contained in the second step ) . Why not change the absolute AC or added ,
because the AC own the temporary storage so that its value will be added until
the program exits .
5.
(Instruction Making)
After that PC
plus one , then it becomes 302 , so that the next instruction is retrieved from
memory address 302 is 2941 , then the command in hexadecimal form ( 2941 ) of
302 memory address entered and stored in the IR so that the value of IR into
2941 and the PC.
6.
(Instruction Execution)
The final step
is to move the AC value into memory address 941. 2941 mean is the command to
copy the contents of the accumulator to memory address 941 .