Hello, I have been looking at the BRA branch instructions on the 18c devices and was wondering if there is a easy way to manage the n variable in the ASM editor. I mean, unless you are branching just a few lines of code below or above the instruction, it is hard to keep track of how many bytes to a routine that is within the ranch of the branch you are tring to get to. Is it possible to use labels for the BRA instruction, so as to hide the details of where the branch routine lies? For example ORG 0x000ff ... do some test, BRA SomeRoutine ..... ;This routine is somewhere within the range of the 1024 branch limit. SomeRoutine ....do some work. Thanks, James -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads