




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





➢ Registers A register is a group of binary cells. A register with n cells can store any discrete quantity of information that contains n bits (a group of bits ). ➢ A binary cell is a device that possesses two stable states and is capable of storing one of the two states.(can store just one bit of information—either 0 or 1). Each cell has 2 possible states: 0 or 1 If there are n cells, the total number of possible combinations of 0s and 1s is:
Example of a 16-bit Register ➢ As ASCII Characters (Alphanumeric Representation) If we split the register into two 8-bit ASCII codes ( with an even parity) , we get: 11000011 11001001 ◦ 11000011 → C ◦ 11001001 → I So, the register holds the characters "CI". 3/10/2025 4
Example of a 16-bit Register ➢ As a Four-Digit Decimal Number (Excess-3 Code) 1100 0011 1100 1001 4 - bit groups and interpret them in Excess-3 code, the register stores the decimal number 9096. ➢ As BCD (Binary-Coded Decimal) 1100 0011 1100 1001 BCD represents decimal digits using 4-bit groups. But in BCD, 1100 is not a valid digit, so the value is meaningless. 3/10/2025 5
Register Transfer ➢The input unit is assumed to have a keyboard, a control circuit, and an input register. ➢Each time a key is struck, the control circuit enters an equivalent eight‐bit alphanumeric character code into the input register ( ASCII code with an odd‐parity bit). ➢The information from the input register is transferred into the eight least significant cells of a processor register. ➢After every transfer, the input register is cleared to enable the control to insert a new eight‐bit code when the keyboard is struck again. ➢Each eight‐bit character transferred to the processor register is preceded by a shift of the previous character to the next eight cells on its left. ➢ When a transfer of four characters is completed, the processor register is full, and its contents are transferred into a memory register
Example of binary information processing 3/10/2025 8 Figure 1.2 Example of binary information processing