11 lines
244 B
ArmAsm
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
|