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

21 lines
242 B
ArmAsm
Raw Normal View History

2023-03-06 14:48:14 +01:00
# Blackfin testcase for circular buffer limits
# mach: bfin
.include "testutils.inc"
start
B0 = 0 (X);
I0 = 0x1100 (X);
L0 = 0x10c0 (X);
M0 = 0 (X);
I0 += M0;
R0 = I0;
R1 = 0x40 (Z);
CC = R1 == R0
if CC jump 1f;
fail
1:
pass