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

18 lines
187 B
Plaintext

# cr16 testcase for movzb reg, reg
# mach(): cr16
.include "testutils.inc"
start
.global movzb
movzb:
movw $0x120f, r4
movw $0x1200, r5
movzb r4, r5
test_h_gr r5, 0xf
pass