| 1 |
;Testname=test; Arguments=-fbin -oinsnlbl.bin; Files=stdout stderr insnlbl.bin |
| 2 |
|
| 3 |
; |
| 4 |
; Test "instruction as label" -- make opcodes legal as labels if |
| 5 |
; they are followed by a colon. |
| 6 |
; |
| 7 |
|
| 8 |
do: jmp dq+2 |
| 9 |
dw do, add, sub, dq |
| 10 |
add: jmp add-2 |
| 11 |
sub: jmp do+2 |
| 12 |
dq: dw $-sub |