Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/cr16/andw.cgs
2023-03-06 14:48:14 +01:00

17 lines
166 B
Text

# 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