X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=snes_test1;a=blobdiff_plain;f=65816.inc;fp=65816.inc;h=8997c5fefb30631e19181ecd605d8d0cf33e98f3;hp=0000000000000000000000000000000000000000;hb=6b4a9266e17c7fa3f54d0492c4a01b44fc5d3fe0;hpb=d056c4cbe305565a50a4ee9d60906d78fb119b4d diff --git a/65816.inc b/65816.inc new file mode 100644 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: