summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mri/for.s
blob: 7524725a4b7adae42302d4b26478ba4265da7dca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; Test MRI structured for pseudo-op.

	xdef	foo
foo
	clr d1
	for d0 = #1 to #10 by #2 do
	  add d0,d1 arbitrary text 'in comment field
	  if <vs> then
	    break
	  endi
	endf

	clr d1
	for d0 = #10 downto #1 do
	  if d1 <ge> #100 then
	    next
	  endi
	  add d0,d1
	endf

	nop
	nop