
Chapter 2 Basic Operations 2.5 Manipulating Registers
35
2.5 Manipulating Registers
Registers are classified into three major types: control registers, general-purpose registers, and
special function registers (SFRs).
The control registers and general-purpose registers can be displayed and modified in the
Register window. The SFRs can be displayed and modified in the SFR window.
2.5.1 Displaying and Modifying Registers
The user can display and modify control registers, general-purpose registers, and SFRs.
The user can manipulate control registers and general-purpose registers in the Register window,
and manipulate SFRs in the SFR window.
Memory
Procedure
Control registers and general-
purpose registers (Register
window)
SFRs (SFR window)
Select Browse -> Register... from the menu bar, or click
the
Select Browse -> Sfr... from the menu bar, or click the
button.
Display
button.
Modification (common to the Register
window and SFR window)
1. Open a desired window.
2. Switch to modify mode by clicking the
button.
3. Position the cursor to a desired register, then modify
the data.
4. After making the modification, execute the modification
by clicking the
button.
5. Switch to view mode by clicking the
button.
Register window (view mode)
Register window (modify mode)
ToModify button: Used to switch to
modify mode.
ToView: Used to switch to view mode.
SFR window (view mode)
SFR window (modify mode)
Displaying and modifying control registers
and general-purpose registers
Displaying and modifying SFRs