[Home]History of Microprogram

HomePage | Recent Changes | Preferences

Revision 12 . . (edit) September 30, 2001 5:05 am by Ray G. Van De Walker
Revision 10 . . (edit) September 28, 2001 4:12 am by Ray G. Van De Walker
Revision 9 . . (edit) September 28, 2001 3:49 am by Mike dill
  

Difference (from prior major revision) (minor diff, author diff)

Changed: 29c29
For this type of micromachine to implement a jump instruction, the microassembly would look something like:
For this type of micromachine to implement a jump instruction with the address following the jump op-code, the microassembly would look something like:

Added: 30a31,33
# Any line starting with a number-sign is a comment
# This is just a label, the ordinary way assemblers symbolically represent a
# memory address.

Changed: 32,34c35,52
1, PC, MAR, ADD, NEXT, NONE
MAR, NONE, PC, COPY, NEXT, NONE
MDR, NONE, PC, COPY, JMP, InstructionDecode?
# To prepare for the next instruction, the instruction-decode microcode has already
# moved the program counter to the memory address register. This instruction fetches
# the target address of the jump instruction from the memory word following the
# jump opcode, by copying from the memory data register to the memory address register.
# This gives the memory system two clock ticks to fetch the next
# instruction to the memory data register for use by the instruction decode.
# The sequencer instruction "next" means just add 1 to the control word address.
MDR, NONE, MAR, COPY, NEXT, NONE
# This places the address of the next instruction into the PC.
# This gives the memory system a clock tick to finish the fetch started on the
# previous microinstruction.
# The sequencer instruction is to jump to the start of the instruction decode.
MAR, 1, PC, ADD, JMP, InstructionDecode?
# The instruction decode is not shown, because it's usually a mess, very particular
# to the exact processor being emulated. Even this example is simplified.
# Many CPUs have several ways to calculate the address, rather than just fetching
# it from the word following the op-code. Therefore, rather than just one
# jump instruction, those CPUs have a family of related jump instructions.

HomePage | Recent Changes | Preferences
Search: