What are Registers?
Register Designation and Representation
Computer registers are designated by capital letters, sometimes followed by numerals, to indicate their function.
- ✅ The content of the source register (R1) remains unchanged
- 🔄 The previous content of destination register (R2) is replaced
- ⚡ Transfer requires parallel load capability in destination register
Register Bit Structure
Individual bits within a register can be shown by dividing the rectangle into small boxes, numbered from 0 upwards.
Parts of a register can be denoted using parentheses:
Low-order byte of register R2
High-order byte of Program Counter
Hardware Requirements
To implement register transfer, specific hardware components are essential:
Available circuits from outputs of source register to inputs of destination register
Destination register must have parallel load capability
The Concept of Register Transfer
What is Register Transfer?
A register transfer is the transfer of binary information from one register to another.
- 🔹 Transfers binary data from source register (R1) to destination register (R2).
- 🔹 The source register content remains unchanged after the transfer.
- 🔹 The destination register content is overwritten with the source data.
- 🔹 Transfers occur in synchronization with a clock pulse.
- 🔹 Useful in executing arithmetic, logic, and control operations in a CPU.
Control Function for Register Transfer
Conditional Transfer Operations
Register transfers often occur only under a predetermined control condition.
"If P = 1, then transfer the content of R1 to R2"
Transfer occurs on single clock edge when control function is active (P=1)
Block Diagram
+----------------+
| Control Circuit|
+----------------+
|P
|
|
↓Load
+-------+
+--------+ | |←-------- Clock
| R1 |---------→| R2 |
+--------+ n +-------+
Timing Diagram
t t+1
Clock: ┌───┐ ┌───┐ ┌───┐ ┌───┐
│ │ ↑ │ ↑ │ │ │
───────┘ └────┘ └────┘ └────┘ └───
┌────────┐
│ │
Load:─────────────┘ └──────
"Transfer occurs here"↑
- Boolean Variable: P can be either 1 or 0
- Timing: Transfer occurs during single clock edge
- Condition: Transfer only happens when P = 1
- Synchronization: Typically on positive clock transition
Basic Symbols for Register Transfers
Register Transfer Language (RTL) Symbols
Table provides a summary of basic symbols used in Register Transfer Language:
Simultaneous Operations
The comma separates two or more micro-operations that occur simultaneously, typically initiated by one common clock pulse.
Register Exchange Operation
RTL Expression Examples
Program Counter Increment
Increment program counter by 1
Address Loading
Load address from instruction register bits 0-11
Memory Read
Read memory at address AR into DR during time T₂
Multiple Operations
Load R2 into R1 and clear R3 when Load signal is active