On Tue, Aug 21, 2001 at 09:06:43AM +0800, machael thailer wrote: > > > I have a question to ask about eret. > > > > > > In RC4xxx/RC32334, after eret finished, does it automatically enable > IE > > > bit of STATUS register? > > > > ERET does not influence the state of the IE bit. > > I agree with you, but the RC32334 User manual (14-13 section) say it does > and say we must run a "CLI" just before eret to disable IE bit in Status > register . That has a different reason. Eret takes the return address from the EPC register and if you'd take an exception between restoring that and the eret you'd loose it's content - crash boom bang. Ralf