What is a register?
Very quick and small storage memory inside the CPU
What does the mnemonic of an LMC command do
Tells the CPU what operation to carry out
What does the operand of an LMC command do
States the data the operation should use (the address off the instruction)
Why is assembly language not portable
It is unique to the processor family it is designed for
What are three buses
Address bus, data bus, control bus
What does the address bus transfer
Transfers the address from MAR to RAM
What does the data bus do
Carries the actual data between the CPU and RAM
What does the control bus do
Carries the signal that states whether the CPU is reading from or writing to RAM
What are the five stages of the fetch part of LMC
What are the different types of registers?
Program Counter, Memory Address Register, Memory Data Register, Accumulator, Current Instruction Register
What are the two types of registers that contain an address
Program counter, Memory Address Register
What is the LMC operation for ending an algorithm
HLT
What is the LMC operation for adding a value of an address to the accumulator
ADD
What is the LMC operation for subtracting a value of an address from the accumulator
SUB
What is the LMC operation for storing the value of the accumulator
STA
What is the LMC operation for loading the value of thee accumulator from memory
LDA
What is the LMC operation for branching to another instruction, no matter the value of the accumulator
BRA
What is the LMC operation for branching to another instruction if the value of accumulator is zero
BRZ
What is the LMC operation for branching to another instruction, if the value of the accumulator is positive or zero
BRP
What is the LMC operation for taking inputs
INP
What is the LMC operation for outputting values
OUT
What is the LMC operation for assigning variables
{name} DAT {starting value}
What is meant by processor performance
The number of instructions that a processor can complete per second
What are the three factors that affect CPU performance