Little Man Computer (LMC)

Memory

AddressValueAddressValue

Machine Code

Type program here:


Instruction Set

ADD 1xx add
SUB 2xx sub
STORE 3xx sto
LOAD 5xx lda
JUMP 6xx br
JUMP IF 0 7xx brz
JUMP IF >= 0 8xx brp
INPUT 901 in
OUTPUT 902 out
HALT 000 cob

Messages

Accumulator

Inputs

Outputs