Syntax: LDAX Rhp Where Rhp is higher order register the pair. (HL, BC or DE) Byte: 1byte Addressing Mode: Register Indirect Addressing Working: for execution of this instruction, microprocessor will allocate first byte for opcode and the operand is register which don't need allocation. Example: LDAX B where [C]= 50H [B] = 20 H [2050H]= 88H After execution of LDAX B [A]= 88 H
Syntax: LXI Rhp,16-bit Where Rhp is Higher Order Register of the pair. (I.e. BC, DE, HL) Byte: 3byte Addressing Mode: Immediate Addressing Working: For execution of LXI Instruction, microprocessor will allocate first byte for opcode, second byte for lower order address/data and third byte for higher order address/data. Example: LXI H,2200H After execution of LXI H,2200H [L] = 00H [H] = 22H
Comments
Post a Comment