Docsity

Start up explanation on digital system, Summaries of Digital Electronics

Partial preview of the text

Download Start up explanation on digital system and more Summaries Digital Electronics in PDF only on Docsity!

  • Chapter 1-Part
  • SECTION 1.

1.8 Binary Storage and Registers

➢ 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:

n cells 2 n^ possible states

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

  1. Memory Registers Store the Numbers: Two memory registers hold the two binary numbers to be added.
  2. Numbers Move to Processor Registers: The values from memory registers are transferred into processor registers R1 and R2.
  3. Digital Logic Adds the Numbers: The logic circuits perform binary addition and store the result in register R3.
  4. Storing the Result in Memory: The sum in R3 moves back into a memory register for future use. Notes: Memory registers store data, but they cannot process it—processing happens in processor registers with the help of logic circuits.