LMC commands Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

INP

A

input data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

ADD

A

add data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SUB

A

subtract data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

STA

A

store data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

LDA

A

load data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

BRA

A

Branch to specific cell (for example branch to cell 10)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

BRZ

A

If 0, branch to a specified cell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

BRP

A

If 0 or positive, branch to a specified cell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

OUT

A

Output data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

HLT

A

end program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

DAT

A

Not an instruction – used to indicate a location that contains data (almost like a variable)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly