๐๐ต๐ฎ๐ฝ๐๐ฒ๐ฟ ๐ฏ: Addressing Modes Flashcards
Is a very common and flexible instruction, it provides a basis for the explanation of the data-addressing modes.
MOV instruction
The ____ is to the right and the ____ to the left.
source; destination
It tells the microprocessor which operation to perform.
opcode
Other term for opcode.
Operation Code
It always separates the destination from the source in an instruction.
Comma
Are not allowed by any instruction except for the MOVS instruction.
memory-to-memory transfers
What are the source and destination often called?
Operands
Transfers a copy of a byte or word from the source register or contents of a memory location to the destination register or memory location.
Register Addressing
In what Intel version can a doubleword be transferred.
80386
Transfers the source, an immediate byte, word, doubleword, or quadword of data, into the destination register or memory location.
Immediate Addressing
What are the different types of data addressing?
Register
Immediate
Direct
Register Indirect
Base-Plus-Index
Register Relative
Base-Relative-Plus-Index
Scaled Index
Moves a byte or word between a memory location and a register.
Direct Addressing
Transfers a byte or word between a register and a memory location addressed by an index or base register.
Register Indirect Addressing
Transfers a byte or word between a register and the memory location addressed by a base register (BP or BX) plus an index register (DI or SI).
Base-plus-index addressing
Moves a byte or word between a register and the memory location addressed by an index or base register plus a displacement.
Register relative addressing
Transfers a byte or word between a register and the memory location addressed by a base and an index register plus a displacement.
Base relative-plus-index addressing
Has its second register of a pair of registers modified by the scale factor of 2x, 4x, or 8x to generate the operand memory address.
Scaled-index addressing
Allows access to any location in the memory system by adding a 32-bit displacement to the 64-bit contents of the 64-bit instruction pointer
RIP relative addressing
Is the most common form of data addressing and, once the register names are learned, is the easiest to apply.
Register addressing
Transfers data between a memory location, located within the data segment, and the AL, AX, or EAX register.
Direct Addressing
Is almost identical to direct addressing, except that the instruction is 4 bytes wide instead of 3.
Displacement Addressing
These directives indicate the size of the memory data addressed by the memory pointer.
Special Assembler Directive
What are the modes of program memory-addressing modes
direct, relative, indirect
Is what many early microprocessors used for all jumps and calls.
Direct Program Memory Addressing