diff options
Diffstat (limited to 'sim/testsuite/m32r/bc24.cgs')
-rw-r--r-- | sim/testsuite/m32r/bc24.cgs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sim/testsuite/m32r/bc24.cgs b/sim/testsuite/m32r/bc24.cgs new file mode 100644 index 0000000..6bb4333 --- /dev/null +++ b/sim/testsuite/m32r/bc24.cgs @@ -0,0 +1,24 @@ +# m32r testcase for bc $disp24 +# mach(): m32r m32rx + + .include "testutils.inc" + + start + + .global bc24 +bc24: + + mvi_h_condbit 0 + bc.l test0fail + bra test0pass +test0fail: + fail +test0pass: + + mvi_h_condbit 1 + bc.l test1pass + fail +test1pass: + + pass + |