Commit | Line | Data |
---|---|---|
39bec121 TW |
1 | * Test loop directive handling |
2 | * .loop [well-defined expression] | |
3 | * .break [well-defined expression] | |
4 | * .endloop | |
5 | .global label | |
6 | .asg label,COEF | |
7 | .word 0 | |
8 | .eval 0,x | |
9 | COEF .loop 10 | |
10 | .word x | |
11 | .eval x+1,x | |
12 | .if x == 6 | |
13 | .break | |
14 | .endif | |
15 | .break x == 6 | |
16 | .endloop | |
17 | .word x+1 | |
18 | .end |