Machine Code/LMC Flashcards

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

What is the mnemonic meaning: ADD

A

Add

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

What is the mnemonic meaning: SUB

A

Subtract

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

What is the mnemonic meaning: STA

A

Store

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

What is the mnemonic meaning: LDA

A

Load

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

What is the mnemonic meaning: BRA

A

Branch always

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

What is the mnemonic meaning: BRZ

A

Branch if zero

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

What is the mnemonic meaning: BRP

A

Branch if positive

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

What is the mnemonic meaning: INP

A

Input

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

What is the mnemonic meaning: OUT

A

Output

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

What is the mnemonic meaning: HLT

A

End program

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

What is the mnemonic meaning: DAT

A

Data location

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

Name the 3 branching instructions and mnemonic

A

BRA - Branch always
BRZ - Branch if zero
BRP - Branch if positive

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

What are the 2 sections of a machine code instruction

A

Basic machine operation and the addressing mode alongside the operand/opcode.

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