diff options
Diffstat (limited to 'sim/testsuite/frv/stb.cgs')
-rw-r--r-- | sim/testsuite/frv/stb.cgs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sim/testsuite/frv/stb.cgs b/sim/testsuite/frv/stb.cgs new file mode 100644 index 0000000..15fa1e6 --- /dev/null +++ b/sim/testsuite/frv/stb.cgs @@ -0,0 +1,16 @@ +# frv testcase for stb $GRk,@($GRi,$GRj) +# mach: all + + .include "testutils.inc" + + start + + .global add +add: + set_mem_limmed 0xdead,0xbeef,sp + set_gr_immed 0,gr7 + set_gr_limmed 0xffff,0xffff,gr8 + stb gr8,@(sp,gr7) + test_mem_limmed 0xffad,0xbeef,sp + + pass |