Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/gas/testsuite/gas/iq2000/hazard5.s
2023-03-06 14:48:14 +01:00

11 lines
244 B
ArmAsm

# This test case includes a single case of a load hazard, whereby an
# instruction references a register which is the target of a load.
# The assembler must warn about this!
.data
foodata:
.word 42
.text
ldw %8, foodata(%4)
add %8, %1, %9