4.2 Assembly language Flashcards
Machine code
the programming language that the CPU uses
Instruction
a single operation performed by the CPU
Assembly language
a low-level chip/machine specific programming language that uses mnemonics
Opcode
short for operation code
the part of the machine code instruction that identifies the action the CPU will perform
Operand
the part of a machine code instruction that identifies the data to be used by the CPU
Source code
a computer program before translation into machine code
Assembler
a computer program that translates programming code written in assembly language into machine code
can be one pass or two pass
Instruction set
the complete set of machine code instructions used by the CPU
Object code
a computer program after translation into machine code
Addressing modes
different methods of using the operand part of a machine code instruction as a memory address
Absolute addressing
mode of addressing in which the contents of the memory location in the operand are used
Direct addressing
mode of addressing in which the contents of the memory location in the operand are used
same as absolute addressing
Indirect addressing
mode of addressing in which the contents of the contents of the memory location in the operand are used
Indexed addressing
mode of addressing in which the contents of the memory location found by adding the contents of the index register (IR) to the address of the memory location in the operand are used
Immediate assessing
mode of addressing in which the value of the operand only is used