249
[Precautions]
1. Regarding the method for specifying a register bank
No kernel interrupt handlers that use the registers in register bank 1 can be written in C language. These handlers can only
be written in assembly language. When writing in assembly language, write the entry and exit to and from the interrupt
handler as shown below.
(Always be sure to clear the B flag before issuing ret_int service call.)
Example: interrupt;
fset
B
fclr
B
ret_int
Internally in the MR100 kernel, register banks are not switched over.
2. Regarding the method for specifying a high-speed interrupt
To ensure the effective use of a high-speed interrupt, be sure that the registers in register bank 1 are used in the high-speed
interrupt. Also be aware that the high-speed interrupts used cannot be a kernel interrupt handler..
Содержание Emulator System M3T-MR100
Страница 3: ...M3T MR100 4 V 1 00 User s Manual User s Manual Rev 1 00 2007 09 Real time OS for R32C 100 Series...
Страница 6: ......
Страница 14: ......
Страница 16: ...xii...
Страница 18: ......
Страница 78: ......
Страница 242: ......
Страница 269: ...253 235 entry_address alm2 236 name ID_alm2 237 exinf 0x12345678 238 239 240 241 242 End of Configuration 243...
Страница 279: ...263...
Страница 290: ......
Страница 294: ......
Страница 304: ...288...
Страница 306: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M3T MR100 4 V 1 00 REJ10J1523 0100 User s Manual...