Untitled Flashcards Set
COAL LEC QUIZ
Registers. Briefly define the functions of the following registers (3pts each).
Accumulator Register (AX) - Used for arithmetic instructions. Holds the result of mathematical operation.
Base Register (BX) - Base Operations
Counter Register (CX) - Looping instructions
Data Register (DX) - Extra register/ Used to extend all registers.
Instruction Pointer (IP) - Holds the memory address of the next instruction to be executed.
Microprocessor System. Identify the different components of a microprocessor system based on the diagram below (2pts). Briefly define the function of each components. Use the back of the questionnaire for the definition (3pts).
Input - Accepts data and instructions for processing
CU - Manages the all computer operation.
ALU - Arithmetic Logic Unit actual performs arithmetic and bitwise operations on integer binary numbers. / Full operation of the computer is done.
Memory - Stores data and instructions temporarily or permanently (Primary, Secondary Memory)
Output - Displays the result of the processed data
How many bits are required to specify addresses in a 32gb memory when the machine is byte addressable? (5pts)
32 x 2^30 = 2^5 x 2^30 = 2^35 bits
What if the machine is word addressable where each consist of 4 bytes or 32 bits? (5pts)
2^35 / 4 = 2^35 / 2^2 = 2^33 bits
Memory. Given the number of bits. Identify the following given.
Identify the following.