assembly language + LMC language Flashcards
assembly languages…
substituted binary code with mnemonics
assembly language is directly translated into binary machine code by an _________
assembler
mnemonic: ADD
instruction: add
mnemonic: SUB
instruction: subtract
mnemonic: STA
instruction: store
mnemonic: LDA
instruction: load
mnemonic: BRA
instruction: branch always
mnemonic: BRZ
instruction: branch if zero
mnemonic: BRP
instruction: branch if positive
mnemonic: INP
instruction: input
mnemonic: OUT
instruction: output
mnemonic: HLT
instruction: end program
mnemonic: DAT
instruction: data location
operand
000
^
opcode
instruction register holds opcode: first digit
address register holds operand: second and third digits
LMC - pc and accumulator limits
pc holds only two digits: 0 to 99
accumulator holds three digits and a sign: -999 to 999