Register Organization
Registers are temporary storage locations inside the CPU.
The registers in the processor can be put in two categories:
- User-visible registers: Enables the machine to minimize main memory references by optimizing use of registers.
- Control and status registers: Used by the control unit to control the operation of the processor.
User-Visible Registers:
User-visible registers includes,
- General purpose registers: General-purpose register can contain the operand for any opcode. General-purpose registers can be used for addressing functions (e.g., register indirect, displacement).
- Data registers: Data registers may be used only to hold data and cannot be employed in the calculation of an operand address.
- Address registers: Address registers may themselves be somewhat general purpose, or they may be devoted to a particular addressing mode. Examples include the following:
- Segment pointers: Segment register holds the address of the base of the segment.
- Index registers: These are used for indexed addressing and may be autoindexed.
- Stack pointer: This allows implicit addressing; that is, push, pop, and other stack instructions need not contain an explicit stack operand.
Control and Status Registers:
- Program counter (PC): Contains the address of an instruction to be fetched.
- Instruction rester (IR): Contains the instruction most recently fetched.
- Memory address register (MAR): Contains the address of a location in memory.
- Memory buffer register (MBR): Contains a word of data to be written to memory or the word most recently read.
More topics from Computer Organization to read
Computer Organization and Architecture:
EasyExamNotes.com covered following topics in these notes.
- Structure of desktop computers
- Logic gates
- Register organization
- Bus structure
- Addressing modes
- Register transfer language
- Direct mapping numericals
- Register in Assembly Language Programming
- Arrays in Assembly Language Programming
References:
- William stalling ,“Computer Architecture and Organization” PHI
- Morris Mano , “Computer System Organization ”PHI
Post a Comment
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.