AND 100% CORRECT ANSWERS
The x86 data type that is a signed binary value contained in a byte, word, or double
word, using twos complement representation is _________.
a. general
b. ordinal
c. integer
d. packed BCD - Answer-integer
The most fundamental type of machine instruction is the _________ instruction.
a. conversion
b. data transfer
c. arithmetic
d. logical - Answer-data transfer
The _________ instruction includes an implied address.
a. skip
b. rotate
c. stack
d. push - Answer-skip
Which of the following is a true statement?
a. a procedure can be called from more than one location
b. a procedure call can appear in a procedure
c. each procedure call is matched by a return in the called program
d. all of the above - Answer-all of the above
The entire set of parameters, including return address, which is stored for a procedure
invocation is referred to as a _________.
a. branch
b. stack frame
c. pop
d. push - Answer-stack frame
Which ARM operation category includes logical instructions (AND, OR, XOR), add and
subtract instructions, and test and compare instructions?
a. data-processing instructions
b. branch instructions
c. load and store instructions
,d. extend instructions - Answer-data-processing instructions
In the ARM architecture only _________ instructions access memory locations.
a. data processing
b. status register access
c. load and store
d. branch - Answer-load and store
Which data type is defined in MMX?
a. packed byte
b. packed word
c. packed doubleword
d. all of the above - Answer-all of the above
A branch instruction in which the branch is always taken is _________.
a. conditional branch
b. unconditional branch
c. jump
d. bi-endian - Answer-unconditional branch
The advantage of __________ is that no memory reference other than the instruction
fetch is required to obtain the operand.
a. direct addressing
b. immediate addressing
c. register addressing
d. stack addressing - Answer-immediate addressing
The principal advantage of ___________ addressing is that it is a very simple form of
addressing.
a. displacement
b. register
c. stack
d. direct - Answer-direct
__________ has the advantage of large address space, however it has the
disadvantage of multiple memory references.
a. Indirect addressing
b. Direct addressing
c. Immediate addressing
d. Stack addressing - Answer-Indirect addressing
The advantages of _________ addressing are that only a small address field is needed
in the instruction and no time-consuming memory references are required.
a. direct
b. indirect
c. register
, d. displacement - Answer-register
__________ has the advantage of flexibility, but the disadvantage of complexity.
a. Stack addressing
b. Displacement addressing
c. Direct addressing
d. Register addressing - Answer-Displacement addressing
For _________, the address field references a main memory address and the
referenced register contains a positive displacement from that address.
a. indexing
b. base-register addressing
c. relative addressing
d. all of the above - Answer-indexing
Indexing performed after the indirection is __________.
a. relative addressing
b. autoindexing
c. postindexing
d. preindexing - Answer-postindexing
For the _________ mode, the operand is included in the instruction.
a. immediate
b. base
c. register
d. displacement - Answer-immediate
The only form of addressing for branch instructions is _________ addressing.
a. register
b. relative
c. base
d. immediate - Answer-immediate
Which of the following interrelated factors go into determining the use of the addressing
bits?
a. number of operands
b. number of register sets
c. address range
d. all of the above - Answer-all of the above
_________ is a principle by which two variables are independent of each other.
a. Opcode
b. Orthogonality
c. Completeness
d. Autoindexing - Answer-Orthogonality