Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / stb.cgs
blob15fa1e6539815dc5a45eb1a377510163d6053b02
1 # frv testcase for stb $GRk,@($GRi,$GRj)
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global add
9 add:
10         set_mem_limmed  0xdead,0xbeef,sp
11         set_gr_immed    0,gr7
12         set_gr_limmed   0xffff,0xffff,gr8
13         stb             gr8,@(sp,gr7)
14         test_mem_limmed 0xffad,0xbeef,sp
16         pass