ISA Flashcards
What is architecture?
programmer’s view of the computer. Defined by instruction set and operand locations
Instruction
words in a computer language. Carried out on operands.
Instruction set
computers vocabulary
What does a compiler do?
convert high level language to machine language
What is assembly language?
human-readable representation of the computer’s native language
Give three examples of physical locations of operands in a computer
Registers, constants/immediates, memory
How many registers does ARM have? How many bits in each register?
16 registers, 32 bits
What are the uses for R14 and R15 respectively?
Link register, PC
What is the base address?
address of first element
What is the job of the function caller?
Passes arguments to callee, jumps to callee
What is the job of the function callee?
Performs the function, returns result to caller, returns to point of call. Must not overwrite registers or memory needed by caller
What are the three instruction formats for machine instructions?
Data-processing, memory, branch
For branch instructions? what is the branch target address?
The next PC when branch taken, it is relative to current PC+8. imm24 is the number of words BTA is away from PC+8.