summaryrefslogtreecommitdiffstats
path: root/gas/testsuite/gas/iq2000/hazard5.s
blob: ecbacb753fc49220f5f945143997945886f64b7d (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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
OpenPOWER on IntegriCloud