Upload Tizen:Base source
[external/gdb.git] / sim / testsuite / sim / m32r / and3.cgs
1 # m32r testcase for and3 $dr,$sr,#$uimm16
2 # mach(): m32r m32rx
3
4         .include "testutils.inc"
5
6         start
7
8         .global and3
9 and3:
10         mvi_h_gr r4, 0
11         mvi_h_gr r5, 6
12
13         and3 r4, r5, #3
14
15         test_h_gr r4, 2
16
17         pass