Addressing Modes
Addressing Modes
Direct addressing
Indirect register addressing
Based addressing (with/without displacement)
Indexed addressing (with/without displacement)
Based-indexed adressing (with/without
displacement)
Addrssing on strings of bytes
Addressing of ports
Exceptions:
-Segm segm
-Segm immediate value
Memory addressing
Examples of strings
Examples how the address is calculated:
MOVSB, LODSB.
2) Arithmetic instructions
3) Logic instructions
MOV
XCHG
XLAT
PUSH/POP
LEA
LDS, LES
ADD, ADC
INC
AAA, DAA
SUB, SBB
DEC
AAS, DAS