Does anyone have such a thing for the 18F ? I've got a bunch of retlw messages for an LCD, of the type addwf pcl dt "message1" in lower memory, 0x100 - 0x580, and some cross boundaries, which means updating PCLATH. Normally I don't have such a large number of messages, and would arrange it so that page straddling is avoided Options for me are 1) re-write them as tables. Not so bad but that seems defeatist 2) possibly re-invent the wheel by writing my own macro Ideally I'd want a macro that's self-modifying, perhaps using something like get message1 which would find PCLATH (ie high(message1)) then correct PCLATH if ADDWF PCL goes over a boundary Any offerings or thoughts ? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist