CHAPTER 3 CPU ARCHITECTURE
User's Manual U11919EJ3V0UM00
57
3.2.3 Special function register (SFR)
Unlike a general-purpose register, each special function register has a special function.
It is allocated in the 256-byte area FF00H to FFFFH.
The special function register can be manipulated, like the general-purpose register, with the operation, transfer,
and bit manipulation instructions. Manipulatable bit units (1, 8, and 16) differ depending on the special function
register type.
Each manipulation bit unit can be specified as follows.
•
1-bit manipulation
Writes a symbol reserved with assembler for the 1-bit manipulation instruction operand (sfr.bit). This
manipulation can also be specified with an address.
•
8-bit manipulation
Writes a symbol reserved with assembler for the 8-bit manipulation instruction operand (sfr). This manipulation
can also be specified with an address.
•
16-bit manipulation
Writes a symbol reserved with assembler for the 16-bit manipulation instruction operand. When specifying an
address, write an even address.
Table 3-4 lists the special function register. The meanings of the symbols in this table are as follows:
•
Symbol
Indicates the addresses of the incorporated special function registers. The symbols shown in this column are
the reserved words of the assembler, and have already been defined in the header file called "sfrbit.h" of C
compiler. Therefore, these symbols can be used as instruction operands if assembler or integrated debugger
is used.
•
R/W
Indicates whether the special function register can be read or written.
R/W
: Read/write
R
: Read only
W
: Write only
•
Bit units for manipulation
Indicates the bit units (1, 8, and 16) in which the special function register can be manipulated.
•
After reset
Indicates the status of the special function register when the RESET signal is input.
Содержание mPD789026 Subseries
Страница 2: ...User s Manual U11919EJ3V0UM00 2 MEMO...
Страница 8: ...User s Manual U11919EJ3V0UM00 8 MEMO...
Страница 12: ...User s Manual U11919EJ3V0UM00 12 MEMO...
Страница 22: ...User s Manual U11919EJ3V0UM00 22 MEMO...
Страница 32: ...User s Manual U11919EJ3V0UM00 32 MEMO...
Страница 84: ...User s Manual U11919EJ3V0UM00 84 MEMO...
Страница 92: ...User s Manual U11919EJ3V0UM00 92 MEMO...
Страница 104: ...User s Manual U11919EJ3V0UM00 104 MEMO...
Страница 166: ...User s Manual U11919EJ3V0UM00 166 MEMO...
Страница 178: ...User s Manual U11919EJ3V0UM00 178 MEMO...
Страница 184: ...User s Manual U11919EJ3V0UM00 184 MEMO...
Страница 204: ...User s Manual U11919EJ3V0UM00 204 MEMO...
Страница 206: ...User s Manual U11919EJ3V0UM00 206 MEMO...
Страница 212: ...User s Manual U11919EJ3V0UM00 212 MEMO...