ceriel 37 gadi atpakaļ
vecāks
revīzija
c5c5b0448f
2 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. 3 3
      mach/m68k4/libem/mon.s
  2. 4 4
      mach/m68k4/libem/nop.s

+ 3 - 3
mach/m68k4/libem/mon.s

@@ -4,14 +4,14 @@
 .sect .data
 .sect .bss
 
-	.sect .text
+.sect .text
 .mon:
 	move.l	(sp)+,a0
 	pea	fmt
 	jsr	.diagnos
-	add	#8,sp
+	add.l	#8,sp
 	jmp	EXIT
 
 	.sect .data
-fmt:	.asciz "system call %d not implemented"
+fmt:	.asciz "system call %d not implemented\n"
 .align 2

+ 4 - 4
mach/m68k4/libem/nop.s

@@ -4,15 +4,15 @@
 .sect .data
 .sect .bss
 
-	.sect .text
+.sect .text
 .nop:
 	pea	4(sp)
-	move.l	hol0,-(sp)
+	move.l	.lino,-(sp)
 	pea	fmt
 	jsr	.diagnos
-	add.l	#12,sp
+	lea	12(sp),sp
 	rts
 
 	.sect .data
-fmt:	.asciz "test %d, sp %d\n"
+fmt:	.asciz "test %d, sp 0x%x.\n"
 .align 2