beautypg.com

Note, 1 the use of int instruction, 2 the use of registers of bank – Renesas Emulator System M3T-MR100 User Manual

Page 291: 11 note

background image

- 275 -

11. Note

11.1 The Use of INT Instruction

MR100 has INT instruction interrupt numbers reserved for issuing service calls as listed in Table 11.1 Interrupt Number
Assignment
. For this reason, when using software interrupts in a user application, do not use interrupt numbers 63 through
48 and be sure to use some other numbers.

Table 11.1 Interrupt Number Assignment

Interrupt No.

Service calls Used

249

Service calls that can be issued from only task context

250

Service calls that can be issued from only non-task context.
Service calls that can be issued from both task context and non-task context.

251

ret_int service call

252

dis_dsp service call

253

loc_cpu, iloc_cpu service call

254 ext_tsk

service

call

255

Reserved for future extension


11.2 The Use of registers of bank

The registers of bank is 0, when a task starts on MR100.

MR100 does not change the registers of bank in processing kernel.

You must pay attention to the followings.

Don’t change the regisers of bank in processing a task.

If an interrupt handler with regisers of bank 1 have multiple interrupts of an interrupt handler with regis-
ers of bank 1 , the program can not execute normally.