Frequently Asked Questions
Instead of 800, the compiler calls 0. Why?The PIC ROM address field in opcodes is 8-10 Bits depending on the chip and specific opcode. The rest of the address bits come from other sources. For example, on the 174 chip to call address 800 from code in the first page you will see:
BSF 0A,3 CALL 0
The call 0 is actually 800H since Bit 11 of the address (Bit 3 of PCLATH, Reg 0A) has been set.