Книга: Introduction to Microprocessors and Microcontrollers
Quiz time 8
Quiz time 8
In each case, choose the best option.
1 The stack is:
(a) an abbreviation for stack pointer.
(b) a series of RAM locations that can be used by the microprocessor to store data.
(c) a collection of programs.
(d) a chimney.
2 A CPU:
(a) is an essential part of any microprocessor.
(b) is an abbreviation for computer processing unit.
(c) can contain more than one MPU.
(d) is a function of a register.
3 Adding the binary numbers 1100 1100 to 0010 1001 within a Z80180 microprocessor would result in C and H flags being in the condition:
(a) C clear and H clear.
(b) C clear and H set.
(c) C set and H clear.
(d) C set and H set.
4 The interrupt vector register (I) in the Z80180 microprocessor is used to store the:
(a) high byte of the interrupt address.
(b) start up address for the microprocessor.
(c) low byte of the interrupt address.
(d) stack pointer address.
5 The fetch–execute cycle:
(a) works in hexadecimal.
(b) assumes the second, fourth, sixth etc. inputs are data.
(c) assumes the first input is an instruction.
(d) is a system used by the Instruction register to channel information to the correct part of the microprocessor.