http://www.pragmatec.net/Download/PICos18/1. PICos/Sources/PICos18_v3_00_B4/Kernel/kernel.asm