... / ...
Commit | Line | Data |
| 1 | .if 0 |
| 2 | .if 1 |
| 3 | .endc |
| 4 | .long 0 |
| 5 | .if 0 |
| 6 | .long 1 |
| 7 | .endc |
| 8 | .else |
| 9 | .if 1 |
| 10 | .endc |
| 11 | .long 2 |
| 12 | .if 0 |
| 13 | .long 3 |
| 14 | .else |
| 15 | .long 4 |
| 16 | .endc |
| 17 | .endc |
| 18 | |
| 19 | .if 0 |
| 20 | .long 5 |
| 21 | .elseif 1 |
| 22 | .if 0 |
| 23 | .long 6 |
| 24 | .elseif 1 |
| 25 | .long 7 |
| 26 | .endif |
| 27 | .elseif 1 |
| 28 | .long 8 |
| 29 | .else |
| 30 | .long 9 |
| 31 | .endif |
| 32 | |
| 33 | .equiv x, y |
| 34 | .equiv y, 0 |
| 35 | .if x |
| 36 | .err |
| 37 | .elseif x |
| 38 | .err |
| 39 | .endif |
| 40 | |
| 41 | .macro m x, y |
| 42 | .ifb \x |
| 43 | .long -1 |
| 44 | .else |
| 45 | .long \x |
| 46 | .endif |
| 47 | .ifnb \y |
| 48 | .long \y |
| 49 | .else |
| 50 | .long -1 |
| 51 | .endif |
| 52 | .endm |
| 53 | m , |
| 54 | m , 10 |
| 55 | m 11, |
| 56 | m 12, 13 |
| 57 | |
| 58 | .p2align 5,0 |
This page took 0.022291 seconds and 4 git commands to generate.