What am I doing wrong?

Sep 16, 2005 23 Replies

There is no "internal global interrupt enable bit."

John W. Temples, III

Oh my, you are of course correct.

Although I seem to remember an errata for one of the first 16Cxx parts to implement interrupt may have had some such quirk.

Sorry for the missinformation.

There was an errata in the old 16Cs that if an interrupt occurred in the same instruction in which you were clearing GIE, GIE would not clear; you had to test GIE after clearing it to see that it actually cleared. Perhaps this is what you're thinking of.

John W. Temples, III

No I don't think that was it.

It's more likely one of the "features" of the 8051.

I've been doing a few of those lately and the mix-master I'm using for a brain probably got confused again.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required