Professional Documents
Culture Documents
Hello: Let's Get Started!
Hello: Let's Get Started!
Registers
1. General purpose
• Can be assigned to a variety of functions by the programmer
o Memory reference & backup
o Register reference & backup
o Data reference & backup
2. Data
• May be used only to hold data and cannot hold addresses
o Must be able to hold values of most data types
o Some machines allow two contiguous registers to be used, For holding
double-length values
4. Condition Codes/Flags
• Holding Condition Codes/Flags which are bits set by processor as the
result of operations
• Condition code bits are collected into one or more control register
• As an example, an arithmetic operation can produce,
o positive result
o negative result
o zero result
Yasas Sri Wickramasinghe o overflow result 10
Control and Status Registers
Employed to control the operation of the processor which are mostly not
visible to the user.
Examples,
• Program Counter (PC): Contains instruction address to be fetched
• Instruction Register (IR): Contains last instruction fetched
• Memory Address Register (MAR): Contains memory location address
• Memory Buffer Register (MBR): Contains a word of data to be written to
memory or a word of data read from memory
• CPU
• Registers
• Bus
• Increase Frequency (Hz) - Faster number of clock ticks per unit of time.
• Increase Cache-levels - Reduce number of read / writes from high latency memory.
• Multi-core architecture - Parallel Processing
• Reduce Physical size of the processor - Electrical signals travel shorter distances
CPU PIPELINING
Yasas Sri Wickramasinghe 16
Stay Safe – Stay Home