From: Sean Schouten dev.seantech@gmail.com [snip] Hector: I am simulating it in MPLAB, because it doesn't work like I want it to on the real thing. I define TEMP_VAR like so: TEMP_VAR RES 1. [snip] Sean, Be carefull Res only works in relocatable code have to use a linker file etc. I'm sure Olin will be all over me but to attempt to understand assembler absolute code is easyer. Peter van Hoof -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist