wm: 5552

ref: 8e9d7d65c2d1374e5676f63e23bed794f1c00e45
dir: /notes.txt/

View raw version
|====================================|
| inst. | mode | src/arg1 | dst/arg2 |
|= 6bit = 2bit =   8bit   =   8bit   |
|====================================|

registers:
RES: output of operations
CRR: carry

ONE: always one
OFF: always zero

FLAGS: flags?

PC: program counter
STATE: machine state

instructions:
I/O:
DRD, device read
DWR, device write

bitwise:
NOT,
AND,
NOR,
XOR,

arithmatic:
ADD,
SUB,

INC, ++
DEC, --

MUL,
DIV,

SHR,
SHL,

branching:
JMP, jump

each instruction may have serval modes, for I/O insturtions it's
device and for arithmatic (and jump?) it is addressing mode.