summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/w65/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/w65/trap.c')
-rw-r--r--newlib/libc/sys/w65/trap.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/newlib/libc/sys/w65/trap.c b/newlib/libc/sys/w65/trap.c
new file mode 100644
index 00000000000..1f49999bb78
--- /dev/null
+++ b/newlib/libc/sys/w65/trap.c
@@ -0,0 +1,15 @@
+
+
+
+_trap3()
+{
+
+}
+
+
+__trap3(a1,a2,a3,a4,a5,a6)
+{
+ asm ("ldx #r0");
+ asm ("wdm");
+}
+