LMC Mnemonics Flashcards

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

What opcode does 0 represent?

A

HLT
(Halt)

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

What opcode does 1 represent?

A

ADD
(Add)

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

What opcode does 2 represent?

A

SUB
(Subtract)

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

What opcode does 3 represent?

A

STA/STO
(Store)

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

What opcode does 4 represent?

A

None - It’s unused and gives an error

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

What opcode does 5 represent?

A

LDA
(Load)

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

What opcode does 6 represent?

A

BRA
(Branch (Always))

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

What opcode does 7 represent?

A

BRZ
(Branch if Zero)

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

What opcode does 8 represent?

A

BRP
(Branch if Positive)

(If Accumulator is Zero or Positive)

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

What opcode does 9 represent?

A

INP (Input)
OUT (Output)

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