diff options
Diffstat (limited to 'sim/testsuite/m32r/and.cgs')
-rw-r--r-- | sim/testsuite/m32r/and.cgs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sim/testsuite/m32r/and.cgs b/sim/testsuite/m32r/and.cgs new file mode 100644 index 0000000..1c26885 --- /dev/null +++ b/sim/testsuite/m32r/and.cgs @@ -0,0 +1,17 @@ +# m32r testcase for and $dr,$sr +# mach(): m32r m32rx + + .include "testutils.inc" + + start + + .global and +and: + mvi_h_gr r4, 3 + mvi_h_gr r5, 6 + + and r4, r5 + + test_h_gr r4, 2 + + pass |