LMC commands Flashcards
1
Q
INP
A
input data
2
Q
ADD
A
add data
3
Q
SUB
A
subtract data
4
Q
STA
A
store data
5
Q
LDA
A
load data
6
Q
BRA
A
Branch to specific cell (for example branch to cell 10)
7
Q
BRZ
A
If 0, branch to a specified cell
8
Q
BRP
A
If 0 or positive, branch to a specified cell
9
Q
OUT
A
Output data
10
Q
HLT
A
end program
11
Q
DAT
A
Not an instruction – used to indicate a location that contains data (almost like a variable)