in Unknown Category edited by
1,297 views
1 vote
1 vote

Consider the following statements :

  1. Auto increment addressing mode is useful in creating self-relocating code.
  2. If auto increment addressing mode is included in an instruction set architecture, then an additional ALU is required for effective address calculation.
  3. In auto incrementing addressing mode, the amount of increment depends on the size of the data item accessed.

Which of the above statements is/are true?

  1. (i) and (ii) only
  2. (ii) and (iii) only
  3. (iii) only
  4. (ii) only
in Unknown Category edited by
by
1.3k views

1 Answer

1 vote
1 vote
Auto increment code is used in stack( push ,pop) ,loops . it has no use in self relocating as in this there is nothing like code goes out of program and then comes back.

2nd statement also false we have a concept of counters for this to be more specific binary counter ..so we dont need alu for incrementation.

yes 3rd statement is true that amount of increment depened on the size of data item access like we did this in programming when we have char just inc. 1 byte . whenn int 2or 4 bytes acccording to our implementation......

so only c is corrrect

Related questions