1 ! .MACRO SUM FROM=0, TO=9
4 !COUNT .ASSIGNA \FROM+1
5 ! .AWHILE \&COUNT LE \TO
7 !COUNT .ASSIGNA \&COUNT+1
18 ! .AWHILE \&COUNT LE 5
20 !COUNT .ASSIGNA \&COUNT+1
24 !COUNT .ASSIGNA \&COUNT+1
25 ! .AWHILE \&COUNT LE 5
27 !COUNT .ASSIGNA \&COUNT+1
31 !COUNT .ASSIGNA \&COUNT+1
32 ! .AWHILE \&COUNT LE 5
34 !COUNT .ASSIGNA \&COUNT+1
38 !COUNT .ASSIGNA \&COUNT+1
39 ! .AWHILE \&COUNT LE 5
41 !COUNT .ASSIGNA \&COUNT+1
45 !COUNT .ASSIGNA \&COUNT+1
46 ! .AWHILE \&COUNT LE 5
48 !COUNT .ASSIGNA \&COUNT+1
52 !COUNT .ASSIGNA \&COUNT+1
53 ! .AWHILE \&COUNT LE 5
55 !COUNT .ASSIGNA \&COUNT+1
63 ! .AWHILE \&COUNT LE 5
65 !COUNT .ASSIGNA \&COUNT+1
69 !COUNT .ASSIGNA \&COUNT+1
70 ! .AWHILE \&COUNT LE 5
72 !COUNT .ASSIGNA \&COUNT+1
76 !COUNT .ASSIGNA \&COUNT+1
77 ! .AWHILE \&COUNT LE 5
79 !COUNT .ASSIGNA \&COUNT+1
83 !COUNT .ASSIGNA \&COUNT+1
84 ! .AWHILE \&COUNT LE 5
86 !COUNT .ASSIGNA \&COUNT+1
90 !COUNT .ASSIGNA \&COUNT+1
91 ! .AWHILE \&COUNT LE 5
93 !COUNT .ASSIGNA \&COUNT+1
97 !COUNT .ASSIGNA \&COUNT+1
98 ! .AWHILE \&COUNT LE 5
100 !COUNT .ASSIGNA \&COUNT+1
108 ! .AWHILE \&COUNT LE 5
110 !COUNT .ASSIGNA \&COUNT+1
114 !COUNT .ASSIGNA \&COUNT+1
115 ! .AWHILE \&COUNT LE 5
117 !COUNT .ASSIGNA \&COUNT+1
121 !COUNT .ASSIGNA \&COUNT+1
122 ! .AWHILE \&COUNT LE 5
124 !COUNT .ASSIGNA \&COUNT+1
128 !COUNT .ASSIGNA \&COUNT+1
129 ! .AWHILE \&COUNT LE 5
131 !COUNT .ASSIGNA \&COUNT+1
137 !; hi this is a comment
138 ; hi this is a comment
139 ! .MACRO BACK_SLASH_SET
146 ! bar ; this comment will get copied out
147 ! foo \; this one will get dropped
150 ! bar ; this comment will get copied out
151 bar ; this comment will get copied out
152 ! foo \; this one will get dropped
153 foo \; this one will get dropped
198 ! .MACRO foo bar=a default=b
204 ! foo default=dog bar=cat
231 ! foo bar=cat default=dog
289 ! .MACRO RES_STR STR, Rn
306 str18: .byte 79,78,69
319 str19: .byte 84,87,79
331 !str20 .SDATA "THREE"
332 str20: .byte 84,72,82,69,69
343 ! RES_STR STR=donkey Rn=R1
350 !str21 .SDATA "donkey"
351 str21: .byte 100,111,110,107,101,121
363 !str22 .SDATA "donkey"
364 str22: .byte 100,111,110,107,101,121
369 ! RES_STR donkey Rn=R1
376 !str23 .SDATA "donkey"
377 str23: .byte 100,111,110,107,101,121