diff options
Diffstat (limited to 'sim/testsuite/cr16/lshw.cgs')
-rw-r--r-- | sim/testsuite/cr16/lshw.cgs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sim/testsuite/cr16/lshw.cgs b/sim/testsuite/cr16/lshw.cgs new file mode 100644 index 0000000..a10edff --- /dev/null +++ b/sim/testsuite/cr16/lshw.cgs @@ -0,0 +1,15 @@ +# cr16 testcase for lshw reg, reg +# mach(): cr16 + + .include "testutils.inc" + + start + + .global lshw +lshw: + movw $0x1234, r4 + movw $8, r5 + lshw r5, r4 + test_h_gr r4, 0x3400 + + pass |