beautypg.com

FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual

Page 46

background image

22

CHAPTER 3 REGISTER DESCRIPTIONS

Note on PS Register

Because of prior processing of the PS register by some commands, a break may be brought in an interrupt

processing subroutine during the use of a debugger or flag display content in the PS register may be

changed with the following exceptional operations. In both cases, right re-processing is designed to

execute after returning from the EIT. So, operations before and after EIT are performed conforming to the

specifications.

When a) a user interrupt or NMI is executed, b) step execution is implemented, or c) a break occurs in a

data event or emulator menu due to a command just before DIV0U/DIV0S commands, the following

operation may be implemented.

(1) D0 and D1 flags are changed first.

(2) EIT process routine (user interrupt, NMI or emulator) is executed.

(3) Returning from EIT, DIV0U/DIV0S commands are executed and D0 and D1 flags are set to the same

value in "(1)".

When a user interrupt or NMI factor exists, and a command such as ORCCR/STILM/

MOV Ri,PS is executed to allow an interruption, the following operation is executed:

(1) PS register is changed first.

(2) EIT process routine (user interrupt, NMI) is executed.

(3) Returning from EIT, any above command is executed and PS register is set to the same value in "(1)".