Machine Code/LMC Flashcards
What is the mnemonic meaning: ADD
Add
What is the mnemonic meaning: SUB
Subtract
What is the mnemonic meaning: STA
Store
What is the mnemonic meaning: LDA
Load
What is the mnemonic meaning: BRA
Branch always
What is the mnemonic meaning: BRZ
Branch if zero
What is the mnemonic meaning: BRP
Branch if positive
What is the mnemonic meaning: INP
Input
What is the mnemonic meaning: OUT
Output
What is the mnemonic meaning: HLT
End program
What is the mnemonic meaning: DAT
Data location
Name the 3 branching instructions and mnemonic
BRA - Branch always
BRZ - Branch if zero
BRP - Branch if positive
What are the 2 sections of a machine code instruction
Basic machine operation and the addressing mode alongside the operand/opcode.