Quote Originally Posted by flotulopex
Hello,

I'm new to PICs.

Starting with some simple examples, I don't understand why, for example:

INTCON = $90 works

when

INTCON = %1001000 doesn't.

What is the difference?

Flotul
Your binary example has a ZERO missing

If you take of the bit that you think is "9" (1001) then you are left with "000" not "0000"

The effect of that is that instead of being treated as 1001 0000 which should be $90 it gets treated as "100 1000" which is $48

HTH