an additional byte that appends to MOV AL, BL the front of an instruction to select MOV AX, BX an alternate segment register. Memory this register is holding Immediate Addressing Mode the segment register transfers the source immediate Label this refers to the location byte or word of data into the that is called or jumped to instead destination register or memory of the actual numeric address location. Segment Address defines the beginning address of a 64k byte EX. Given: AX=3367 memory segment. MOV AL, 34H MOV AX, 3456H FFFFH should be added to the starting address to get the ending Direct Addressing Mode moves address. a byte or a word between a Segment and Offset is the first 1 memory location and a register. Mbyte of memory. ADDRESS EX. Given: DS=1000; Offset Address sometimes called MAPUA=1023; AL=CA displacement or relative. MOV AL, [34] Starting Address should be MOV CL, MAPUA appended with zero (0). MOV [34], AL Direct Addressing Mode moves Register Indirect Addressing a byte or a word between a Mode transfers a byte or a word memory location and a register between a register and a memory location addressed by an index or Addressing Modes base register. The index and base Register Addressing Mode registers are BP, BX, DI and SI. transfer a copy of a byte or word Given: DS=1000; BX=55; DI=36; from the source register or DH=FE memory location to the destination MOV AX, [BX] MOV [DI], DH register or memory location. Base-Plus-Index Addressing Mode transfers a byte or a word Register combinations between a register and the 1. CS: IP 2. DS: AX, BX, CX, DX, SI, DI memory location addressed by a 3. SS: BP, SP base register (BP or BX) plus an 4. ES: SI, DI index 1. DS & ES (IF SI OR DI EXIST IN register (DI or SI). THE INSTRUCTION)—PRIORITY Given: DS=1000; BX=55; SI=BA IS ES MOV CX, [BX+SI] Register Relative Addressing 2. DS & ES (IF SI OR DI DID NOT EXIST IN THE INSTRUCTION)— Mode moves a byte or a word PRIORITY IS DS between a register and the 3. DS & ES &SS (IF BP EXIST IN memory location addressed by an THE INSTRUCTION)—PRIORITY index or base register plus a IS SS
displacement. 4. DS & ES &SS (IF BP DID NOT
EX. Given: DS=1000; BX=55 EXIST IN THE INSTRUCTION)— MOV DX, [BX+500] PRIORITY IS DS
Base-Relative-Plus Index 5. DS & ES &SS (IF SI OR DI
Addressing Mode transfers a EXIST & BP DID NOT EXIST IN byte or a word between a register THE INSTRUCTION)—PRIORITY and the memory location IS ES addressed by a base and an index register plus a 6. DS & ES &SS (IF SI OR DI & BP DID NOT EXIST IN THE displacement. INSTRUCTION)—PRIORITY IS EX. Given: DS=1000; BX=55; DS SI=BA MOV AX, [BX+SI+500] 7. DS & ES &SS (IF SI OR DI & BP EXIST IN THE INSTRUCTION)—PRIORITY IS SS