diff options
Diffstat (limited to 'test/asr.s')
-rw-r--r-- | test/asr.s | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/asr.s b/test/asr.s new file mode 100644 index 0000000..6377875 --- /dev/null +++ b/test/asr.s @@ -0,0 +1,19 @@ +; Testing Signed shifts. +; +; Writen by mr b0nk 500 <b0nk@b0nk.xyz> + +reset: + cps + +start: + lda.q #$-FFFF + +signshft: + asr #$1 + cmp.q #$-1 + beq start + jmp signshft + +.org $0 +done + |