
CHAPTER 2: ARCHITECTURE
TOASCII: |
| ;BCD to ASCII conversion |
LDB | %EXT,0x00 | ;Sets address 0040H |
LDB | %XL,0x40 |
|
JR | %A |
|
RETD | 0x30 | ;"0" |
RETD | 0x31 | ;"1" |
RETD | 0x32 | ;"2" |
RETD | 0x33 | ;"3" |
RETD | 0x34 | ;"4" |
RETD | 0x35 | ;"5" |
RETD | 0x36 | ;"6" |
RETD | 0x37 | ;"7" |
RETD | 0x38 | ;"8" |
RETD | 0x39 | ;"9" |
As shown in the example, operation results in the A or BA register can simply be converted into other formats.
2.3 Data Memory
2.3.1 Configuration of data memory
In addition to the program memory space, the S1C63000 can also access
Figure 2.3.1.1 shows the data memory map of the S1C63000.
Address |
|
|
| |
|
| |||
|
|
|
| |
0000H |
|
|
|
|
| Data |
|
| |
|
| and |
|
|
00FFH |
| SP1, SP2 stack area |
|
|
0100H |
| Data |
|
|
|
|
|
| |
|
| and |
|
|
03FFH |
| SP1 stack area |
|
|
|
|
|
| |
0400H |
|
|
|
|
|
| Data area |
|
|
FEFFH |
|
|
|
|
FF00H |
|
|
|
|
|
| I/O memory area |
|
|
FFFFH |
|
|
|
|
Fig. 2.3.1.1 S1C63000 data memory map
The S1C63000 can access
The S1C63000 has a
The addresses FF00H to FFFFH are used for an I/O memory area to control the peripheral circuits.
S1C63000 CORE CPU MANUAL | EPSON | 17 |