CEA Chapter 13
A
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
False
For addresses that reference memory the range of addresses that can be referenced is not related to the number of address bits. a. True b. False
A
For the _________ mode, the operand is included in the instruction. a. immediate b. base c. register d. displacement
False
In a system without virtual memory, the effective address is a virtual address or a register. a. True b. False
C
Indexing performed after the indirection is __________. a. relative addressing b. autoindexing c. postindexing d. preindexing
C
The _________ was designed to provide a powerful and flexible instruction set within the constraints of a 16-bit minicomputer. a. PDP-1 b. PDP-8 c. PDP-11 d. PDP-10
A
The __________ byte consists of three fields: the Scale field, the Index field and the Base field. a. SIB b. VAX c. PDP-11 d. ModR/M
B
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
C
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
True
The base with index and displacement mode sums the contents of the base register, the index register, and a displacement to form the effective address. a. True b. False
True
The disadvantage of immediate addressing is that the size of the number is restricted to the size of the address field. a. True b. False
True
The memory transfer rate has not kept up with increases in processor speed. a. True b. False
True
The method of calculating the EA is the same for both base-register addressing and indexing. a. True b. False
D
The only form of addressing for branch instructions is _________ addressing. a. register b. relative c. base d. immediate
D
The principal advantage of ___________ addressing is that it is a very simple form of addressing. a. displacement b. register c. stack d. direct
True
The principal price to pay for variable-length instructions is an increase in the complexity of the processor. a. True b. False
True
The value of the mode field determines which addressing mode is to be used. a. True b. False
True
The x86 is equipped with a variety of addressing modes intended to allow the efficient execution of high-level languages. a. True b. False
False
Three of the most common uses of stack addressing are relative addressing, base-register addressing, and indexing. a. True b. False
C
All instructions in the ARM architecture are __________ bits long and follow a regular format. a. 8 b. 16 c. 32 d. 64
True
One advantage of linking the addressing mode to the operand rather than the opcode is that any addressing mode can be used with any opcode. a. True b. False
True
Register addressing is similar to direct addressing with the only difference being that the address field refers to a register rather than a main memory address. a. True b. False
False
Register indirect addressing uses the same number of memory references as indirect addressing. a. True b. False
False
Typically an instruction set will include both preindexing and postindexing. a. True b. False
D
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
True
With direct addressing, the length of the address field is usually less than the word length, thus limiting the address range. a. True b. False
B
_________ is a principle by which two variables are independent of each other. a. Opcode b. Orthogonality c. Completeness d. Autoindexing
A
__________ has the advantage of flexibility, but the disadvantage of complexity. a. Stack addressing b. Displacement addressing c. Direct addressing d. Register addressing
A
__________ 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
D
__________ is a design principle employed in designing the PDP-10 instruction set. a. Orthogonality b. Completeness c. Direct addressing d. All of the above