Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1186 | savelij | 1 | cpu z80 |
| 2 | |||
| 3 | ; macro expansion off for macros defined in succession |
||
| 4 | |||
| 5 | macexp_dft off |
||
| 6 | |||
| 7 | delay macro n |
||
| 8 | ld c,n |
||
| 9 | loop nop |
||
| 10 | djnz loop |
||
| 11 | endm |
||
| 12 | |||
| 13 | ; won't be expanded in listing |
||
| 14 | |||
| 15 | delay 10 |
||
| 16 | |||
| 17 | ; force expansion of complete macro body |
||
| 18 | |||
| 19 | macexp_ovr on |
||
| 20 | |||
| 21 | ; will be expanded in listing |
||
| 22 | |||
| 23 | delay 20 |
||
| 24 | |||
| 25 | ; take back override |
||
| 26 | |||
| 27 | macexp_ovr |
||
| 28 | |||
| 29 | ; won't be expanded in listing |
||
| 30 | |||
| 31 | delay 30 |