diff code_part1/OSTC_code_asm_part1/simulator.asm @ 159:aaa6e8720a7d

fix for simualtor restore
author heinrichsweikamp
date Tue, 18 Jan 2011 12:01:13 +0100
parents 3fd7d304a0fe
children 494587193f5d
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/simulator.asm	Tue Jan 18 11:52:06 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/simulator.asm	Tue Jan 18 12:01:13 2011 +0100
@@ -235,7 +235,7 @@
 	bsf		simulatormode_active			; normal simulator mode
 	bsf		standalone_simulator			; Standalone Simulator active
 
-	movff	logbook_temp2,logbook_temp3		; store bottom time
+	movff	logbook_temp1,logbook_temp3		; store bottom time
 
 	movff	logbook_temp2,xA+0
 	clrf	xA+1
@@ -322,7 +322,7 @@
 
 	movlw	d'5'							; Pre-Set Cursor to "Show Decoplan"
 	movwf	menupos
-	movff	logbook_temp3,logbook_temp2		; restore bottom time
+	movff	logbook_temp3,logbook_temp1		; restore bottom time
 	bra		menu_simulator1					; Done.
 
 simulator_calc_deco2: