Skip to main content

Posts

Showing posts with the label Addressing Concepts

Addressing Concepts

Q.1. Explain in detail about the concept of Addressing in the Memory. Ans.: Each instruction needs data on which it has to perform the specified operation. The data may be in the accumulator, GPR (general purpose registers) or in some specified memory location. The techniques of specifying the address of the data are known as addressing modes. The important addressing modes are as follows : (i) Direct Addressing (ii) Register Addressing (iii) Register Indirect Addressing (iv) Immediate Addressing (v) Relation Addressing (i) Direct Addressing : In this, the address of the data is specified within the instruction itself. Example of direct addressing is : (a) STA 2500H : store the contents of accumulator in the memory location 2500H. (ii) Register Addressing : In register addressing, the operands are located in the general purpose registers. In other words the contents of the register are the operands. Therefore only this name of the register is to be specified in the instru...