Commit | Line | Data |
---|---|---|
36591ba1 SL |
1 | # Source file used to test illegal operands. |
2 | ||
3 | foo: | |
4 | # Illegal registers | |
5 | add r3,r4,r56 | |
6 | add r4,r0,r2 | |
7 | # Illegal syntax | |
8 | ldw r4,0x1000 | |
9 | ldw r4,0x1000(r5 | |
10 | ldw r4,0x1000r5) | |
11 | ldw r4,0x1000,r5 | |
12 | ldw r4,(0x1000)r5 | |
13 | # Illegal opcodes | |
14 | fop r3,r4,r5 | |
15 | # Extra operands | |
16 | nop Crapola | |
17 | add r2, r2, r2, r4 |