unit 2 Assembly Language Flashcards
what is architecture?
the programmer’s view of a computer
what is architecture defined by?
instructions set (language) and operand locations(registers and memory)
what are instructions?
the words in a computer’s language
what is an instruction set?
the computer’s vocabulary
where might operands come from?
memory, registers, or from the instruction itself
how does the ARM architecture represent each instruction?
as a 32-bit word
microarchitecture is?
the specific arrangement of registers, memories, ALUs, and other building blocks to form a microprocessor
what is assembly language?
the human-readable representation of the computer’s native language.
what do assembly language instructions specify?
the operation to perform and the operands on which to operate
what is a mnemonic?
a symbolic name for a single executable machine language instruction
what is a source operand?
the variables the operation is being performed on
what is the destination operand?
the operand the result is written to
what is an example of ARM assembly code for subtraction?
SUB a, b, c
what is an example of ARM assembly code for addition?
ADD a,b,c
what does an instruction operate on?
operands
In ADD a,b,c what are the variables?
operands
where can operands be stored?
registers, memory, or in the instruction itself
what is the register set or register file?
the 16 registers used by the ARM architecture
The fewer the registers the___?
faster they can be accessed
contents are called Immediate operands because?
their values are immediately available from the instruction and do not require a register or memory access
what is the move instruction (MOV) useful for?
initializing register values small or large
what is the difference between memory and register file?
memory is larger and slower
what variables are kept in the register?
frequently used variables
ARM architecture instructions operate exclusively on?
registers, so data stored in memory must be moved to before it can be processed