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

19 lines
190 B
Plaintext
Raw Normal View History

# cr16 testcase for bcs disp16
# mach(): cr16
.include "testutils.inc"
start
.global bcs
bcs:
mvi_h_condbit 0
movw $12, r4
movw $10, r5
subw r4, r5
bcs ok
not_ok:
fail
ok:
pass