Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/bfin/issue126.s
2023-03-06 14:48:14 +01:00

19 lines
228 B
ArmAsm

# mach: bfin
.include "testutils.inc"
start
init_r_regs 0;
ASTAT = R0;
P1 = R0;
P2 = R0;
R0 = R0;
P1 = ( P1 + P0 ) << 2;
P2 = ( P2 + P0 ) << 1;
_DBG ASTAT;
R5 = ASTAT;
DBGA ( R5.H , 0 ); DBGA ( R5.L , 0 );
pass