Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/bfin/wtf.s

27 lines
276 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
# mach: bfin
.include "testutils.inc"
start
loadsym p0, foo;
r2 = p0;
r2 += 4;
[p0++]=p0;
loadsym i0, foo;
r0=[i0];
R3 = P0;
CC = R2 == R3
if ! CC jump _fail;
R3 = I0;
CC = R0 == R3;
if ! CC jump _fail;
_halt0:
pass;
_fail:
fail;
.data
foo:
.space (0x10)