Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/d10v/t-ae-st2w-im.s
2023-03-06 14:48:14 +01:00

20 lines
277 B
ArmAsm

# mach: all
# output:
# sim: --environment operating
.include "t-macros.i"
start
PSW_BITS = 0
point_dmap_at_imem
check_interrupt (VEC_AE&DMAP_MASK)+DMAP_BASE PSW_BITS test_st2w
ldi r10, #0x4000
st2w r8, @r10-
ldi r10, #0x4001
test_st2w:
st2w r8,@r10-
nop
exit47