binutils-gdb/sim/testsuite/sim/cr16/bhi.cgs

19 lines
188 B
Plaintext

# cr16 testcase for beq disp16
# mach(): cr16
.include "testutils.inc"
start
.global beq
beq:
mvi_h_condbit 0
movw $2, r4
movw $1, r5
cmpw r4, r5
bhi ok
not_ok:
fail
ok:
pass