comparison code_part1/OSTC_code_asm_part1/menu_custom.asm @ 25:99512945c7a1

1.61 beta rc2
author heinrichsweikamp
date Thu, 13 May 2010 23:24:55 +0200
parents 68825abc35f7
children 29341afd2060
comparison
equal deleted inserted replaced
22:70ce5847324c 25:99512945c7a1
702 clrf sub_a+1 702 clrf sub_a+1
703 call sub16 ; sub_c = sub_a - sub_b with "neg_flag" bit set if sub_b > sub_a 703 call sub16 ; sub_c = sub_a - sub_b with "neg_flag" bit set if sub_b > sub_a
704 btfss neg_flag ; negative? 704 btfss neg_flag ; negative?
705 retlw .255 ; no 705 retlw .255 ; no
706 retlw .0 ; yes 706 retlw .0 ; yes
707