Classical

Computer Organization Architecture - Machine instructions and addressing modes

16:   A certain processor supports only the immediate and the direct addressing modes. Which of the following programming language features cannot be implemented on this processor ?
A. Pointers
B. Arrays
C. Records
D. All of these
 
 

Option: D

Explanation :
Pointers require indirect addressing mode. Arrays and records required indexing modes.Recursive procedures with local variable required.


17:   In the absolute addressing mode
A. Operand is inside the instruction
B. Address of the operand is outside the instruction
C. Register containing the address of the operand is speciied inside theinstruction
D. Location of the operand is implicit.
 
 

Option: D

Explanation :


18:   The programmable interval timer is
A. 8251
B. 8250
C. 8253
D. 8088
 
 

Option: C

Explanation :


19:   Pseudo-instructions are
A. Assembler directives
B. Instructions in any program that have corresponding machine code instruction
C. Instruction in any program whose absence will not change the output for any input
D. None of these
 
 

Option: A

Explanation :


20:   The number of instructions needed to add 'n' numbers and store the result in memory using only one address instructions is
A. n
B. n+1
C. n-1
D. independent of n
 
 

Option: B

Explanation :

'>


Suggest an improvement