1.2.4 Types of Programming Language Flashcards
LMC Only
What is the instruction for ADD?
Add
What is the instruction for SUB?
Subtract
What is the instruction for STA?
Store
What is the instruction for LDA?
Load
What is the instruction for BRA?
Branch Always
What is the instruction for BRP?
Branch If Positive
What is the instruction for BRZ?
Branch If Zero
What is the instruction for INP?
Input
What is the instruction for OUT?
Output
What is the instruction for HLT?
Halt
What is the instruction for DAT?
Data
What is the mnemonic for add?
ADD
What is the mnemonic for Subtract?
SUB
What is the mnemonic for Store?
STA
What is the mnemonic for Load?
LDA
What is the mnemonic for Branch Always?
BRA
What is the mnemonic for Branch If Zero?
BRZ
What is the mnemonic for Branch If Positive?
BRP
What is the mnemonic for Input?
INP
What is the mnemonic for Output?
OUT
What is the mnemonic for Halt?
HLT
What is the mnemonic for Data?
DAT
What is the code for Add?
1XX
What is the code for Subtract?
2XX