LMC Instruction Set


Instruction
Mnemonic
MachineCode
Load
LDA
5xx
Store
STA
3xx
Add
ADD
1xx
Subtract
SUB
2xx
Input
INP
901
Output
OUT
902
End
HLT
000
Branch if zero
BRZ
7xx
Branch if zero or positive
BRP
8xx
Branch always
BRA
6xx
Data storage
DAT


xx refers to a Mailbox number