Which of the following is not a general-purpose register?
Correct answer: C. General-purpose registers (GPRs)
- A. EBX
- B. ECX
- C. General-purpose registers (GPRs)
- D. EDX
Explanation
General-purpose registers (GPRs) are a set of CPU registers that can be used for various purposes by the programmer. They can store data and operands used in instructions. In the x86 architecture, there are multiple GPRs identified by names like EBX, ECX, and EDX. These registers can be used for arithmetic operations, logical operations, addressing memory locations, and more.Instruction register (IR), on the other hand, is a special-purpose register that stores the instruction currently being fetched from memory. It is not a general-purpose register that the programmer can directly manipulate.So, while all the listed options (a) EBX, (b) ECX, and (d) EDX are general-purpose registers, (c) IR is the instruction register and not a general-purpose register.
Last updated
About Hardware and Software
Hardware includes the physical components of a computer, such as the CPU, motherboard, registers, memory, storage devices and peripheral equipment. Software covers system software, application software, utilities, drivers and firmware, with attention to how the operating system manages hardware and how software differs from the physical equipment it controls.
Practise Hardware and Software
290 free Hardware and Software MCQs from Computer Science and IT, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Exams that ask Computer Science and IT questions like this
Computer Science and IT is on 40 papers prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for every one of them.