Prerequsite – Addressing Modes
1. Implied Addressing Mode :
In implied addressing mode, the operands are specified implicitly in the definition of the instruction .All the instructions which reference registers that use an accumulator are implied mode instructions .Zero address instructions in a stack organised computer are also implied mode instructions .Thus, it is also known as stack addressing mode.
2. Immediate Addressing Mode :
In Immediate addressing mode, the operand is specified in the instruction itself .In this mode, the operand field contains the actual operand to be used in conjuction with the operation specified in the instruction .
Difference between Implied Addressing Mode and Immediate Addressing Mode :
|S.No.||Implied Addressing Mode||Immediate Addressing Mode|
|1.||In Implied addressing mode, no operand is specified in the instruction .||In Immediate addressing mode, operand is specified in the instruction itself .|
|2.||Basically, the operands are specified implicitly in the definition of instruction .||Here, the operands are contained in an operand field rather than address field .|
|3.||This type of mode can be used in all register reference instructions .||This type of mode is quite useful for initializing the registers to a constant value .|
|4.||It requires 8 bits or 16 bits long data and is the part of instruction.||It requires more bits than the address.|
|5.||There is no need to acquire a operand .||It is fast in acquiring an operand .|
|6.||Zero-address instructions in a stack-organized computer are implied-mode instructions .||The address field of an instruction may specify either a memory word or a processor register.|
|7.||Example: CMA (Complement Accumulator)||Example: MVI A 45|
Attention reader! Don’t stop learning now. Learn all GATE CS concepts with Free Live Classes on our youtube channel.