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

18 lines
166 B
Plaintext

# cr16 testcase for and $sr,$dr
# mach(): cr16
.include "testutils.inc"
start
.global and
and:
movw $3, r4
movw $6, r5
andw r4, r5
test_h_gr r5, 2
pass