Code: Select all
Sub_c600:
c600: ef,59,f9 call bf5c Sub_bf5c (); 'call datalogging routine
c603: 33,46,09 jnb B3,R46,c60f if (B3_R46 = 1) { ' check if fan is on. If not skip to c60f
c606: 99,60,b6 cmpb Rb6,60 ' compare ect with 60
c609: d6,03 jge c60e if (Rb6 < 60) { 'if < 60 'if > 60 skip to c60e, turn fan off if not
c60b: 71,f7,46 an2b R46,f7 B3_R46 = 0; }
c60e: f0 ret return; }
c60f: 99,69,b6 cmpb Rb6,69 'compare ect with 69
c612: de,03 jlt c617 if (Rb6 >= 69) { ' if ECT >= 69 turn fan on. skip to c617 if not
c614: 91,08,46 orb R46,8 B3_R46 = 1; }
c617: f0 ret return;