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
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
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.
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.
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.
Different Addressing modes are: 1. Direct Addressing Mode 2. Indirect Addressing Mode 3. Immediate Addressing Mode 4. Register Addressing Mode 5. Implicit Addressing Mode Immediate addressing Data is present in the instruction. Load the immediate data to the destination provided. Example: MVI R,data Register addressing Data is provided through the registers. Example: MOV Rd, Rs Direct addressing Used to accept data from outside devices to store in the accumulator or send the data stored in the accumulator to the outside device. Accept the data from the port 00H and store them into the accumulator or Send the data from the accumulator to the port 01H. Example: IN 00H or OUT 01H Indirect Addressing This means that the Effective Address is calculated by the processor. And the contents of the address (and the one following) is used to form a second address. The second address is where the data is stored. Note that this requires several memory accesses; two accesses to retrieve the 16-bit address and a further access (or accesses) to retrieve the data which is to be loaded into the register.