What am I doing wrong?

There is no "internal global interrupt enable bit."

--
John W. Temples, III
Reply to
John Temples
Loading thread data ...

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.

Reply to
Keyser Soze

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
Reply to
John Temples

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.

Reply to
Keyser Soze

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.