3. Indexed addressing
- The main applications of this type of addressing technique is to enable to access of
sequential locations in memory that are adjacent to each other
- Each adjcent memory address has value n+1, where n is the address of the
previous location
- When the first of the location have been accessed, the next memory location in
sequence is accessed by simply increasing the add of the present location by 1 &
using accessing it
- The starting address of the series of locations is specified in the operand of the
instruction
- In order to access the next location in sequence, the content of the index register is
increased by 1 a added to the opreand address
- This is done repeatedly until the last memory location in the series is processed
Indexed addressing.
OP – CODE OPERAND
Index Register
Data 1 Data 2 Data 3 Data 4
Chapter 4: PROGRAMMING LANGUAGES.
Question 1. Program and level of language?
Program is group of constructions that is linked together to perform specific task. It’s
necessary for a computer program to be written in a “PL” because at a computer program is
created by a programing using a sys analyst’s specification of the job in the hand.
Bạn đang xem 3. - MOT SO CAU HOI VE MAY TINH