Add an option with a color type.
[binutils-gdb.git] / sim / testsuite / cr16 / cmpb_i.cgs
blob591abe9a849e731fbaa2d7d650d982054545e708
1 # cr16 testcase for cmpb $imm4, reg
2 # mach(): cr16 
4         .include "testutils.inc"
6         start
8         .global cmpb_i
9 cmpb_i:
10         mvi_h_condbit 0
11         movw $0x2311, r4
12         cmpb $0x4211, r4
13         beq ok
14 not_ok:
15         fail
16 ok:
17         mvi_h_condbit 1
18         cmpb $0x4222,r4
19         beq not_ok
21         pass