LMC Flashcards
1
Q
How to do addition and subtraction?
A
ADD
SUB
2
Q
How to store?
A
STA
3
Q
How to load?
A
LDA
4
Q
How to always branch, zero branch, pos branch?
A
BRA
BRZ
BRP
5
Q
How to input/output?
A
INP
OUT
6
Q
How to end program?
A
HLT
7
Q
How to set variables?
A
name DAT value