comparison testcases.txt @ 222:b52f81d7cad0

Added testcases for muls, mulu, abcd and sbcd
author Mike Pavone <pavone@retrodev.com>
date Sat, 20 Apr 2013 17:32:34 -0700
parents cb72780e17b1
children f7ff02eeec2f
comparison
equal deleted inserted replaced
221:71f6b76639db 222:b52f81d7cad0
18 #suba wl d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) a 18 #suba wl d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) a
19 #subi bwl #n d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l 19 #subi bwl #n d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l
20 #subq bwl #(1-8) d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l 20 #subq bwl #(1-8) d;a;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l
21 #subx bwl d d 21 #subx bwl d d
22 #subx bwl -(a) -(a) 22 #subx bwl -(a) -(a)
23 bchg b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l 23 #bchg b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l
24 bchg l d;#(0-255) d 24 #bchg l d;#(0-255) d
25 bset b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l 25 #bset b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l
26 bset l d;#(0-255) d 26 #bset l d;#(0-255) d
27 bclr b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l 27 #bclr b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l
28 bclr l d;#(0-255) d 28 #bclr l d;#(0-255) d
29 btst b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l 29 #btst b d;#(0-255) (a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l
30 btst l d;#(0-255) d 30 #btst l d;#(0-255) d
31 rol bwl d;#(1-8) d 31 #rol bwl d;#(1-8) d
32 ror bwl d;#(1-8) d 32 #ror bwl d;#(1-8) d
33 abcd b d d
34 abcd b -(a) -(a)
35 sbcd b d d
36 sbcd b -(a) -(a)
37 muls w d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d
38 mulu w d;(a);(a)+;-(a);(n,a);(n,a,x);(n).w;(n).l;#n;(n,pc);(n,pc,x) d
39