Selaa lähdekoodia

Fixed the trap code to write out the error message correctly.

dtrg 17 vuotta sitten
vanhempi
commit
6127ddf024
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      plat/cpm/libsys/_trap.s

+ 2 - 2
plat/cpm/libsys/_trap.s

@@ -206,11 +206,11 @@ eunimpl:lxi h,EUNIMPL
 	pop d
 	ret
 1:
-	lxi h, 1
+	lxi h, 6
 	push h
 	lxi h, text
 	push h
-	lxi h, 6
+	lxi h, 1
 	push h
 	call _write
 	jmp EXIT