diff --git a/mach/m68k4/libem/mon.s b/mach/m68k4/libem/mon.s index 38114a756..e09486c8e 100644 --- a/mach/m68k4/libem/mon.s +++ b/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 diff --git a/mach/m68k4/libem/nop.s b/mach/m68k4/libem/nop.s index d701c49f1..e7e78f84f 100644 --- a/mach/m68k4/libem/nop.s +++ b/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