franks version
This commit is contained in:
parent
2aa64be3a6
commit
0cc30a7e49
|
@ -4,14 +4,14 @@
|
||||||
.sect .data
|
.sect .data
|
||||||
.sect .bss
|
.sect .bss
|
||||||
|
|
||||||
.sect .text
|
.sect .text
|
||||||
.mon:
|
.mon:
|
||||||
move.l (sp)+,a0
|
move.l (sp)+,a0
|
||||||
pea fmt
|
pea fmt
|
||||||
jsr .diagnos
|
jsr .diagnos
|
||||||
add #8,sp
|
add.l #8,sp
|
||||||
jmp EXIT
|
jmp EXIT
|
||||||
|
|
||||||
.sect .data
|
.sect .data
|
||||||
fmt: .asciz "system call %d not implemented"
|
fmt: .asciz "system call %d not implemented\n"
|
||||||
.align 2
|
.align 2
|
||||||
|
|
|
@ -4,15 +4,15 @@
|
||||||
.sect .data
|
.sect .data
|
||||||
.sect .bss
|
.sect .bss
|
||||||
|
|
||||||
.sect .text
|
.sect .text
|
||||||
.nop:
|
.nop:
|
||||||
pea 4(sp)
|
pea 4(sp)
|
||||||
move.l hol0,-(sp)
|
move.l .lino,-(sp)
|
||||||
pea fmt
|
pea fmt
|
||||||
jsr .diagnos
|
jsr .diagnos
|
||||||
add.l #12,sp
|
lea 12(sp),sp
|
||||||
rts
|
rts
|
||||||
|
|
||||||
.sect .data
|
.sect .data
|
||||||
fmt: .asciz "test %d, sp %d\n"
|
fmt: .asciz "test %d, sp 0x%x.\n"
|
||||||
.align 2
|
.align 2
|
||||||
|
|
Loading…
Reference in a new issue