http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dvi0022a/ar01s02s09.html
there are five addressing modes in 8086 they are : 1->direct addressing 2->Indirect addressing 3->index addressing 4->immediate addressing 5->register addressing
Addressing modes of 8051 are 1.Immediate Addressing Mode 2.Register Addressing Mode 3.Register Indirect Addressing Mode 4.Direct Addressing Mode 5.Implied Addressing Mode and 6.Relative Addressing Mode
literal and absolute direct are the registers
* Direct * Register Indirect * Based Mode * Indexed Mode * Scaled Indexed Mode * Based Indexed mode * Based scaled indexed mode * Based Indexed mode with displacement * Based scaled indexed mode with displacement
Ans: In the register addressing mode the operands are in registers which reside within the CPU. Register-mode instructions are 1-byte instructions and can be executed within the CPU without the need to reference memory for operands. But in the Register-indirect addressing mode the instruction specifies a register or a pair of registers in the processor whose contains give the address of the operand in memory. This mode uses 1-byte instructions even though the operand is in memory. Before using a register-indirect mode instruction, the programmer must ensure that the address of the operand is placed in the processor register with a previous transfer-type instruction. A reference to the register is then equivalent to specifying a memory address.
Data can be accessed from memory by using the addressing modes, 8085 has 5 addressing modes namely,1. Immediate addressing mode 2. register addressing mode 3. direct addressing mode 4. indirect addressing mode 5. implied addressing mode
register direct addressing mode
Direct addressing mode
Addersing mode of a microprocesso tells the programmer that in which mode the instruction works . There are 5 addressing mode in 8080 , viz. Direct , register, indirect , immidiate ,implict addressing modes.
To add the contents of a memory location to the contents of accumulator A, the direct addressing mode can be used. In this mode, the instruction specifies the actual memory address where the operand is located. The processor retrieves the value from that memory address and adds it directly to the contents of accumulator A. This method allows for straightforward access to the operand stored in memory.
addressing mode is used to form an instruction format.
It is register addressing mode, as it moves the content of HL to PC which is data and not address.