comparison code_part1/OSTC_code_asm_part1/menu_custom.asm @ 587:1b021a280e15

NEW CF64: Configures color for inactive gases
author heinrichsweikamp
date Sun, 13 May 2012 15:40:21 +0200
parents ab2686087bce
children 420e62cd88ad
comparison
equal deleted inserted replaced
586:b4a4aa5d169a 587:1b021a280e15
109 109
110 movlw d'1' 110 movlw d'1'
111 movwf EEADRH ; bank 1 111 movwf EEADRH ; bank 1
112 movlw d'32' 112 movlw d'32'
113 subwf customfunction_temp1,F 113 subwf customfunction_temp1,F
114 movlw d'63' 114 movlw d'31'
115 cpfsgt customfunction_temp1 115 cpfsgt customfunction_temp1
116 bra getcustom8_3 ; bank 1 116 bra getcustom8_3
117 117
118 movlw d'2' 118 movlw d'2'
119 movwf EEADRH ; bank 2 119 movwf EEADRH ; bank 2
120 movlw d'64' 120 movlw d'32'
121 subwf customfunction_temp1,F 121 subwf customfunction_temp1,F
122 getcustom8_3: 122 getcustom8_3:
123 movf customfunction_temp1,W 123 movf customfunction_temp1,W
124 mullw d'4' 124 mullw d'4'
125 movf PRODL,W ; x4 for adress 125 movf PRODL,W ; x4 for adress