소스 검색

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

dtrg 17 년 전
부모
커밋
6127ddf024
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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