1.2.4 Types of Programming Language Flashcards
LMC Only
1
Q
What is the instruction for ADD?
A
Add
2
Q
What is the instruction for SUB?
A
Subtract
3
Q
What is the instruction for STA?
A
Store
4
Q
What is the instruction for LDA?
A
Load
5
Q
What is the instruction for BRA?
A
Branch Always
6
Q
What is the instruction for BRP?
A
Branch If Positive
7
Q
What is the instruction for BRZ?
A
Branch If Zero
8
Q
What is the instruction for INP?
A
Input
9
Q
What is the instruction for OUT?
A
Output
10
Q
What is the instruction for HLT?
A
Halt
11
Q
What is the instruction for DAT?
A
Data
12
Q
What is the mnemonic for add?
A
ADD
13
Q
What is the mnemonic for Subtract?
A
SUB
14
Q
What is the mnemonic for Store?
A
STA
15
Q
What is the mnemonic for Load?
A
LDA
16
Q
What is the mnemonic for Branch Always?
A
BRA
17
Q
What is the mnemonic for Branch If Zero?
A
BRZ