(docs) readme - Remove old table of instructions missed during previous change
This commit is contained in:
parent
ae3743926c
commit
e1cc491e28
27
readme.md
27
readme.md
|
|
@ -50,29 +50,6 @@ With single stepping + verbose debugging output:
|
||||||
|
|
||||||
### Operations
|
### Operations
|
||||||
|
|
||||||
```
|
|
||||||
00 END
|
|
||||||
01 STO lit# ; store ... mem[lit#] <- A
|
|
||||||
02 STO addr ; store ... mem[mem[addr]] <- A
|
|
||||||
03 LDA lit# ; load ... A <- lit#
|
|
||||||
04 LDA addr ; load ... A <- mem[addr]
|
|
||||||
05 ADD lit# ; add ... A <- A + lit# ... and un/set carry flag
|
|
||||||
06 ADD addr ; add ... A <- A + mem[addr] ... and un/set carry flag
|
|
||||||
07 SUB lit# ; sub ... A <- A - lit# ... and un/set carry flag
|
|
||||||
08 SUB addr ; sub ... A <- A - mem[addr] ... and un/set carry flag
|
|
||||||
09 HOP lit# ; hop ... skip next instruction if A == lit# ... when true: IP <- PC + 4
|
|
||||||
0A HOP addr ; hop ... skip next instruction if A == addr ... when true: IP <- PC + 4
|
|
||||||
0B JMP lit# ; jump ... IP <- lit#
|
|
||||||
0C JMP addr ; jump ... IP <- addr
|
|
||||||
0D FTG lit# ; toggle flag by number (see details below)
|
|
||||||
0E FHP lit# ; flag hop ... skip next instruction if flag is set ... when true: IP <- PC + 4
|
|
||||||
0F NOP ———— ; no operation
|
|
||||||
```
|
|
||||||
|
|
||||||
- Instructions are two bytes long:
|
|
||||||
one byte for the opcode, one for the operand
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
Hex Mnem. Operand Effect
|
Hex Mnem. Operand Effect
|
||||||
|
|
||||||
|
|
@ -94,6 +71,10 @@ Hex Mnem. Operand Effect
|
||||||
0F NOP (ignored) None
|
0F NOP (ignored) None
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- Instructions are two bytes long:
|
||||||
|
one byte for the opcode, one for the operand
|
||||||
|
|
||||||
|
|
||||||
### Effects on memory, flags, registers
|
### Effects on memory, flags, registers
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue