diff options
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/m68k/syscall.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/internal/m68k/syscall.s b/src/internal/m68k/syscall.s new file mode 100644 index 00000000..9972a34d --- /dev/null +++ b/src/internal/m68k/syscall.s @@ -0,0 +1,9 @@ +.global __syscall +.hidden __syscall +.type __syscall,%function +__syscall: + movem.l %d2-%d5,-(%sp) + movem.l 20(%sp),%d0-%d5/%a0 + trap #0 + movem.l (%sp)+,%d2-%d5 + rts |