From 0db2cfe5e3d935464b89ce525c1f88b3527ac186 Mon Sep 17 00:00:00 2001 From: Astrid Smith Date: Mon, 31 Oct 2011 00:29:16 -0700 Subject: IO testing harness added --- ports_test.s | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ports_test.s diff --git a/ports_test.s b/ports_test.s new file mode 100644 index 0000000..0ac2f4f --- /dev/null +++ b/ports_test.s @@ -0,0 +1,11 @@ +|| -*- gas -*- + + || Testing harness to pretend to be IO ports. + +port_in: + andi.w #0xff,d0 + rts + +port_out: + andi.w #0xff,d0 + rts -- cgit v1.2.3