Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / sth.cgs
blobc11ae407cd0ae9ebbcea6abedd5dbe5a7f6cc913
1 # frv testcase for sth $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         sth             gr8,@(sp,gr7)
14         test_mem_limmed 0xffff,0xbeef,sp
16         pass