- There are 256 registers, which store 16 bit unsigned integers.
- There are 65536 words (16 bits) in memory.
- All instructions are 2-byte aligned.
- The return stack has a maximum depth of 254.
- and
denote registers R and S - [S] denotes memory with address at the value of S
- @A@ denotes the instruction at position A
inc | CA | CARR | Increment R jzd @A@ | CB | CBRRAAAA | Decrement R if R > 0, else jump to A jmp @A@ | CF | CF--AAAA | Jump to A
[FFFF]: stack counter [FFFE]-[FF00]: return stack [FEFF]-[????]: instruction memory [addr]-[0000]: data memory
addr is stored in register FF