2.16.2.1 Set an interrupt event

In the Editor panel/Disassemble panel, set an interrupt event at a location where you want an interrupt request to be generated.

In the Editor panel/Disassemble panel, move the caret to the line/addressNote at which you want to set an interrupt event and then select [Register Action Event...] from the context menu to open the following Action Events dialog box, then select the [Interrupt event setting] tab [Simulator].

In this dialog box, follow the steps below.

Note

Interrupt events cannot be set to lines with no address indication.

Figure 2.169

Set Interrupt Event (Action Events Dialog Box: [Interrupt Event Setting] Tab

(1)

Specify [Interrupt Vector]

Specify the interrupt vector by directly entering a corresponding number between 0 and 255.

(2)

Specify [Priority]

Specify an interrupt's priority level.

-

[RX610 Group]

Specify the priority order by directly entering a number between 1 and 8.

When 8 is specified, the event is handled as a fast interrupt.

-

[Non-RX610 Group]

Specify the priority order by directly entering a number between 1 and 16.

When 16 is specified, the event is handled as a fast interrupt.

(3)

Click the [OK] button

Set the interrupt event to the line at the caret position in the Editor panel/Disassemble panel.

When the interrupt event is set, the mark is displayed in the event area on the Editor panel/Disassemble panel, and the set interrupt event is managed in the Events panel (see "2.17 Event Management").