Datasheet

Section 2 CPU
Rev. 4.00 Sep 27, 2006 page 48 of 1130
REJ09B0327-0400
2.4.4 Initial Register Values
Reset exception handling loads the CPUs program counter (PC) from the vector table, clears the
trace bit in EXR to 0, and sets the interrupt mask bits in CCR and EXR to 1. The other CCR bits
and the general registers are not initialized. In particular, the stack pointer (ER7) is not initialized.
The stack pointer should therefore be initialized by an MOV.L instruction executed immediately
after a reset.