- Fetch
- Decode
- Execute
Program
Instruction set
| Copy | MOV A, B MOV A, 5 |
|---|---|
| Memory | LD A, [0x20] LD A, [B] ST [0x20], A ST [B], A |
| Maths | ADD SUB AND OR XOR CMP with a register or a number |
| One byte | INC DEC SHL SHR ROL ROR NOT |
| Jump | JMP JZ JNZ JC JNC JN CALL RET |
| Stack | PUSH POP |
| Other | OUT A NOP HLT |
| Assembler | label: .equ NAME, 5 .org 0x40 .byte 1, 2 ; note |
| Display | Bytes 0xF0 to 0xF7 are its rows |
| Register | Hex | Dec | Bits |
|---|