![]() The H-L register pair is loaded with the address of the data. The Control Unit of the CPU will first fetch the register pair and then fetch the data from the address specified by register pair.Įxample: LXI H, 8051H (load H-L pair with 8051 ), MOV A, M (move the content of the Memory Location, whose address is in H-L pair i.e 8051H to the accumulator), HLT (HALT). The address of the data is stored in a register pair. In Register Indirect Addressing mode the data cannot be retrieved directly from the register, unlike the Register direct AM. The data is moved directly from one register to another. ![]() The Data source is B and the data will be moved to register A. Therefore, it is 1-byte instruction.Įxamples: MOV A, B (move the content of the register B to register A). The address of the register on which the operation is to be performed is specified in the Opcode itself. ![]() In Register Direct Addressing mode the operand is either one of the general purpose register or the accumulator. The source of the data is the accumulator, from which the data will be stored in the memory location 8086 H. ![]() The first byte is for the Opcode while the 2nd and 3rd byte is used to specify the address of the memory location. ![]() In Direct memory Addressing mode, the address of the operand (data) is given in the instruction itself.Įxample: STA 8086H (stores the content of the accumulator in the memory location 2400H). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |