comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 55:a63d63a8612e

Another Gas Change debug
author heinrichsweikamp
date Tue, 03 Aug 2010 14:46:52 +0200
parents c97c5514b165
children 0338aac9a267 152fbe7f121d
comparison
equal deleted inserted replaced
54:795bf627b442 55:a63d63a8612e
257 257
258 simulator_calc_deco_loop2: 258 simulator_calc_deco_loop2:
259 call PLED_simulator_data 259 call PLED_simulator_data
260 260
261 ; Debugger 261 ; Debugger
262 call enable_rs232 262 ; call enable_rs232
263 movff char_I_deco_He_ratio5,TXREG 263 ; movff char_I_deco_He_ratio5,TXREG
264 call rs232_wait_tx ; wait for UART 264 ; call rs232_wait_tx ; wait for UART
265 movff char_I_deco_N2_ratio5,TXREG 265 ; movff char_I_deco_N2_ratio5,TXREG
266 call rs232_wait_tx ; wait for UART 266 ; call rs232_wait_tx ; wait for UART
267 movff char_I_deco_He_ratio4,TXREG 267 ; movff char_I_deco_He_ratio4,TXREG
268 call rs232_wait_tx ; wait for UART 268 ; call rs232_wait_tx ; wait for UART
269 movff char_I_deco_N2_ratio4,TXREG 269 ; movff char_I_deco_N2_ratio4,TXREG
270 call rs232_wait_tx ; wait for UART 270 ; call rs232_wait_tx ; wait for UART
271 movff char_I_deco_He_ratio3,TXREG 271 ; movff char_I_deco_He_ratio3,TXREG
272 call rs232_wait_tx ; wait for UART 272 ; call rs232_wait_tx ; wait for UART
273 movff char_I_deco_N2_ratio3,TXREG 273 ; movff char_I_deco_N2_ratio3,TXREG
274 call rs232_wait_tx ; wait for UART 274 ; call rs232_wait_tx ; wait for UART
275 movff char_I_deco_He_ratio2,TXREG 275 ; movff char_I_deco_He_ratio2,TXREG
276 call rs232_wait_tx ; wait for UART 276 ; call rs232_wait_tx ; wait for UART
277 movff char_I_deco_N2_ratio2,TXREG 277 ; movff char_I_deco_N2_ratio2,TXREG
278 call rs232_wait_tx ; wait for UART 278 ; call rs232_wait_tx ; wait for UART
279 movff char_I_deco_He_ratio,TXREG 279 ; movff char_I_deco_He_ratio,TXREG
280 call rs232_wait_tx ; wait for UART 280 ; call rs232_wait_tx ; wait for UART
281 movff char_I_deco_N2_ratio,TXREG 281 ; movff char_I_deco_N2_ratio,TXREG
282 call rs232_wait_tx ; wait for UART 282 ; call rs232_wait_tx ; wait for UART
283 movff char_I_deco_gas_change5,TXREG 283 ; movff char_I_deco_gas_change5,TXREG
284 call rs232_wait_tx ; wait for UART 284 ; call rs232_wait_tx ; wait for UART
285 movff char_I_deco_gas_change4,TXREG 285 ; movff char_I_deco_gas_change4,TXREG
286 call rs232_wait_tx ; wait for UART 286 ; call rs232_wait_tx ; wait for UART
287 movff char_I_deco_gas_change3,TXREG 287 ; movff char_I_deco_gas_change3,TXREG
288 call rs232_wait_tx ; wait for UART 288 ; call rs232_wait_tx ; wait for UART
289 movff char_I_deco_gas_change2,TXREG 289 ; movff char_I_deco_gas_change2,TXREG
290 call rs232_wait_tx ; wait for UART 290 ; call rs232_wait_tx ; wait for UART
291 movff char_I_deco_gas_change,TXREG 291 ; movff char_I_deco_gas_change,TXREG
292 call rs232_wait_tx ; wait for UART 292 ; call rs232_wait_tx ; wait for UART
293 ; 293 ;
294 294
295 btg LED_red 295 btg LED_red
296 296
297 call divemode_check_decogases ; Checks for decogases and sets the gases 297 call divemode_check_decogases ; Checks for decogases and sets the gases