
Hitachi Embedded Workshop User Manual
156
Table 2.4
Simulation Errors
Error Message
Error Cause
Processing in Continuation
Mode
Access to a memory area that has not
been allocated
Write to a memory area having the write
protect attribute
Read from a memory area having the
read disable attribute
Memory Access Error
Access to an area where memory does
not exist
On memory write, nothing is
written; on memory read, all bits
are read as 1.
Zero division executed by the DIV1
instruction
Illegal Operation
Writing zero by the SETRC instruction
Shift of more than 32 bits executed by
the PSHA instruction
Illegal DSP Operation
Shift of more than 16 bits executed by
the PSHL instruction
Operates in the same way as the
actual device operation.
Invalid DSP Instruction
Code
Invalid DSP instruction code
Always stops.
TLB Multiple Hit
Hit to multiple TLB entries at MMU
address translation (only for the SH-3,
SH-3E, and SH3-DSP series)
Undefined.
When a simulation error occurs in the stop mode, the simulator/debugger returns to the command input wait state
after stopping instruction execution and displaying the error message. Table 2.5 lists the states of the program
counter (PC) at simulation error stop. The status register (SR) value does not change at simulation error stop.