fix: printed wrong message; now dumps core at end
This commit is contained in:
parent
410a62e2de
commit
636c151d51
1 changed files with 3 additions and 1 deletions
|
@ -39,10 +39,12 @@ fmt: .asciz "%s\n"
|
||||||
add.l #4, sp
|
add.l #4, sp
|
||||||
rts
|
rts
|
||||||
9:
|
9:
|
||||||
jsr (.trpstr)
|
|
||||||
move.l d0,-(sp)
|
move.l d0,-(sp)
|
||||||
|
jsr (.trpstr)
|
||||||
|
move.l d0,(sp)
|
||||||
pea (fmt)
|
pea (fmt)
|
||||||
jsr (.diagnos)
|
jsr (.diagnos)
|
||||||
lea (4, sp), sp
|
lea (4, sp), sp
|
||||||
|
illegal
|
||||||
jsr (_exit)
|
jsr (_exit)
|
||||||
.align 2
|
.align 2
|
||||||
|
|
Loading…
Add table
Reference in a new issue