It's been a real day with the PICs...
I'm getting to hate PICs... and their evil & unpleasant architechture...
Someone is using a PIC18F4580, which is CAN enabled.
In addition to the usual hideosities, it actually has 3 parts to the Program Counter.
The low byte, and upper byte and an upper upper nibbley thing.
You can directly address the low byte.
The upper byte is addressed indirectly through PCLAT, and the upper nibbley thing is addressed indirectly through yet another kludge register.
What a piece of crap.
It makes the 8086 look well designed....
I'm getting to hate PICs... and their evil & unpleasant architechture...
Someone is using a PIC18F4580, which is CAN enabled.
In addition to the usual hideosities, it actually has 3 parts to the Program Counter.
The low byte, and upper byte and an upper upper nibbley thing.
You can directly address the low byte.
The upper byte is addressed indirectly through PCLAT, and the upper nibbley thing is addressed indirectly through yet another kludge register.
What a piece of crap.
It makes the 8086 look well designed....
Comment