瀏覽代碼

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