Maker Pro
Maker Pro

Re-entrant interrupt on the 80C51

F

Fred

Jan 1, 1970
0
I see the HIP and LIP bits in the STATUS sfr are read only. Feel it's a bit
of a shame!

Is there any way around this?
 
I

Ian Bell

Jan 1, 1970
0
Fred said:
I see the HIP and LIP bits in the STATUS sfr are read only. Feel it's a
bit of a shame!

Is there any way around this?

Which 8051 variant is this?

Ian
 
F

Fred

Jan 1, 1970
0
Ian Bell said:
Which 8051 variant is this?

Ian

It's the Dallas DS80C400 part.

I've managed to do it in more a fudge like manner where I wrote an embedded
piece of assembler where I stacked a label (3 bytes for this part) and
called an RETI. That then resets the LIP bit. Shame it's read only and you
have to use this method.
 
Top