in dt's code the var is declared in a asm routine and as EXT in pbp
if you declare a var in pbp and wish to refer to it in asm it must be prefixed with an underscore as others have statedwDUTY VAR WORD EXT ' map wDuty to CCPR1L:H as a word
@wDUTY = CCPR1L





Bookmarks