DMA version of the waving logo
[snes_test1] / 65816.inc
diff --git a/65816.inc b/65816.inc
new file mode 100644 (file)
index 0000000..8997c5f
--- /dev/null
+++ b/65816.inc
@@ -0,0 +1,23 @@
+       .macro A16
+       rep #$20
+       .a16
+       .endmacro
+       .macro A8
+       sep #$20
+       .a8
+       .endmacro
+       .macro I16
+       rep #$10
+       .i16
+       .endmacro
+       .macro I8
+       sep #$10
+       .i8
+       .endmacro
+
+       .macro asr
+       cmp #$80
+       ror a
+       .endmacro
+
+       ; vi:ft=asm_ca65: