Explorar o código

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

dtrg %!s(int64=17) %!d(string=hai) anos
pai
achega
6127ddf024
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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