We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I fell into the below where a conditional in assembly did not 'take'. listing extract:
12 0080 13 PACK_COUNT equ (OUTBUF_SZ/4) 0080 852 JOE equ (PACK_COUNT AND 0ffh) 0080 853 BILL equ (LOW PACK_COUNT) 0080 854 aJOE equ PACK_COUNT AND 0ffh 0080 855 aBILL equ LOW PACK_COUNT 858 IF (PACK_COUNT AND 0ffh) 859 inc r6 ENDIF 866 IF (LOW PACK_COUNT) 867 inc r6 ENDIF
01F6 14 PACK_COUNT equ 01f6h 00F6 853 JOE equ (PACK_COUNT AND 0ffh) 00F6 854 BILL equ (LOW PACK_COUNT) 00F6 855 aJOE equ PACK_COUNT AND 0ffh 00F6 856 aBILL equ LOW PACK_COUNT 859 IF (PACK_COUNT AND 0ffh) 0052 0E 860 inc r6 861 ENDIF 867 IF (LOW PACK_COUNT) 0053 0E 868 inc r6 869 ENDIF 0054 870 FB2rloop:
question answered: somehow the assemble manages to pick up PACK_COUNT
0080 13 PACK_COUNT equ (OUTBUF_SZ/4)