Consider the following statements :
(i) Auto increment addressing mode is useful in creating self-relocating code.
(ii) If auto increment addressing mode is included in an instruction set architecture, then an additional ALU is required for effective address calculation.
(iii) In auto increment addressing mode, the amount of increment depends on the size of the data item accessed. Which of the above statements is/are true?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. (iii) only
Explanation
Self-relocating code relies on PC-relative addressing, not auto-increment (i false). The increment uses the existing address adder, not an extra ALU (ii false). The increment equals the operand size (1, 2, 4 bytes…), so (iii) is true.
More Computer System Architecture questions
- A computer uses a memory unit with 256K words of 32 bits each. A binary instruction code is stored in one word of memory. The instruction h…
- Consider the following x86 assembly language instructions: MOV AL, 153 NEG AL The contents of the destination register AL (in 8-bit binary)…
- The decimal floating point number -40.1 represented using IEEE-754 32-bit representation and written in hexadecimal form is
- Find the boolean expression for the logic circuit shown below : (1-NAND gate, 2-NOR gate, 3-NOR gate)
- Consider a disk pack with 32 surfaces, 64 tracks and 512 sectors per pack. 256 bytes of data are stored in a bit serial manner in a sector.…
- Consider a system with 2 level cache. Access times of Level 1 cache, Level 2 cache and main 0.5 ns, 5 ns 100 ns memory are and respectively…