Monistode
Documentation is under construction. More content will be available soon! 🚧
STACK ARCHITECTURE
REGISTERS
System Registers:
Stacks:
Name | Direction | Description |
---|---|---|
Register Stack ↑ | Register Stack | |
Memory Stack ↓ | Memory Stack |
ADDRESSING MODES
INSTRUCTION FORMAT
HALT
Stop the execution
opcode
6 bits
000000
1 bytes
LOAD [$ADDR]
Load a 16-bit value from memory at the specified address and push it onto the register stack
opcode
6 bits
000100
padding
2 bits
00
offset
16 bits
xxxxxxxxxxxxxxxx
4 bytes
LOAD $IMM
Push a 16-bit immediate value onto the stack
opcode
6 bits
000010
padding
2 bits
00
value
16 bits
xxxxxxxxxxxxxxxx
4 bytes