{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

NanoCompAssyLang - Description of the NanoComp Instruction...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
4/7/08 1 Description of the NanoComp Instruction Set Registers, memory, and ° elds Memory Processor state PC 7..0 : program counter (address of next instruction) IR 7..0 : instruction register Run: one bit run/halt indicator Strt: start signal R[0..3] 7 ..0 : general purpose registers Main memory state Mem[0..2 3 - 1] 7..0 : 256 addressable bytes of memory Formats Instruction formats IR 7..4 : operation code field Rx 1..0 := IR 3..2 : Rx field Ry 1..0 := IR 1..0 : Ry field Cond 3..0 := IR 3..0 : branch condition Instruction interpretation (instruction_interpretation := ( Run Strt Run 1; PC 0; initialize the PC to M[0] Run (IR M[PC]: PC PC + 1; instruction_execution):
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 The NanoComp Instruction set Notes: Cond is the four lsbs of the instruction. The four bits are Z, N, C, and V respec- tively. Cond will be ORed with the contents of the ° ags register. If the result is not zero, cond is true.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}