
5. SFR used by the program for the E8 emulator
As the SFR listed in Table 5.3 is used by the program for the E8 emulator, do not change a value. Otherwise, the E8
emulator cannot be controlled. Note that UART1 transmit interrupt control register S1TIC and UART1 receive
interrupt control register S1RIC always read out the value of using the emulator. Also, they are not initialized by
selecting [Debug] -> [Reset CPU] or with the RESET command. If their contents are referred to, a value that has
been set in the program for the E8 emulator will be read.
Table 5.3 SFR Used by Program for E8 Emulator
Address Register Symbol Bit
Notes on using
the E8 emulator
0009h Address match interrupt enable register AIER All bits [*1]
0010h - 0012h Address match interrupt register 0 RMAD0 All bits [*1]
0014h - 0016h Address match interrupt register 1 RMAD1 All bits [*1]
01B8h - 01BAh Address match interrupt register 2 RMAD2 All bits [*1]
01BBh Address match interrupt enable register 2 AIER2 All bits [*1]
001BC - 01BEh Address match interrupt register 3 RMAD3 All bits [*1]
03A8h UART1 transmit/receive mode register U1MR All bits [*1]
03AAh, 03ABh UART1 transmit buffer register U1TB All bits [*1]
03ACh UART1 transmit/receive control register 0 U1C0 All bits [*1]
03ADh UART1 transmit/receive control register 1 U1C1 All bits [*1]
03AEh, 03AFh UART1 receive buffer register U1RB All bits [*1]
03B0h UART transmit/receive control register 2 UCON Bits 1, 3, 4, 5 and 6 [*2]
03ECh Port P6 register P6 Bits 4, 5, 6 and 7 [*2]
03EEh Port P6 direction register PD6 Bits 4, 5, 6 and 7 [*2]
*1 Do not change the value of the register.
*2 Do not change the value of the bits listed above. When operating this register, change it by a bit operating
instruction, etc. in order to avoid changing the value of relevant bits.
6. Interrupts used by the E8 emulator program
The BRK instruction interrupt, address match interrupt, single-step interrupt, and DBC interrupt are used by the E8
emulator program. Therefore, make sure the user program does not use these interrupts. The E8 emulator changes
these interrupt vector values to the values to be used by the emulator. It is not a problem if the interrupt vector
values are written in the user program.
17
Kommentare zu diesen Handbüchern