In general, upper 4 bits of Machine Instruction are assigned to an OP(eration)
code and lower 12-bits the Operand which points to a location of the memory.
Here we look at "INJ [Address]" instruction in detail.
Machine Instruction:
1011
1110 0010 1011
The sequence of operations to be performed in Execution Cycle:
Assembly Instruction:
INJ
[E2Bh]
Description:
Unconditional jump to the memory address
which is stored in E2B(hex)
Note: A modification (*)-(**) is made to implement our circuits in LogicWorks4.
(*) Remove this signal and move it here (**).
Subcycle
HDL
Note T7 in Fetch Cycle E_CYCLE Set State Flip-Flop to Execute(1) T0 MAR<-IR[0..11] copy IR(D0..11) to MAR T1 (*)[READ_MEM] (*)[activate READ_MEM] T2 T3 T4 (**)[Output/Enable,]PC<-MBR (**)[activate Output/Enable,]copy MBR to PC T5 T6 T7 F_CYCLE Reset State Flip-Flop to 0(F_CYCLE)