Please type your program or select an example.
Examples:Source
Instruction set
Arithmetic
OP1, OP2 := Register or Immediate value.
DST := Register.- ADD OP1, OP2, DST
- SUB OP1, OP2, DST
- MUL OP1, OP2, DST
- DIV OP1, OP2, DST
Flow control
ADDR:= Instruction address (row #).- JMP ADDR
- JZ ADDR
- JNZ ADDR
Memory interface
REG := Register
VAL, ADDR := Register or Immediate value.- LDR ADDR, REG
Page size := 1.
- STR VAL, ADDR
- LDR ADDR, REG
Extra
- ; comment
|
|
||||||||||||
|
|
||||||||||||
|
|
0 0 |
|
|
|
||||||||
|
|