A Simplified Visualisation of a 16 bit CPU core with a custom instruction set
NOP
No operationLDA <Address>
Load address into accumulatorLDI <Unsigned Byte>
Load immediate into accumulatorSTA <Address>
Store accumulator into addressADD <Address>
Add accumulatorSUB <Address>
Subtract accumulatorMUL <Address>
Multiply accumulatorDIV <Address>
Divide accumulatorJMP <Address>
JumpJGZ <Address>
Jump if greater than zeroJLZ <Address>
Jump if less than zeroJEZ <Address>
Jump if equal to zeroJNZ <Address>
Jump if not equal to zeroINP
Input to accumulatorOUT
Output to accumulatorHLT
Halt