@@ -1385,7 +1385,8 @@ <h2 class="Sh" id="SYMBOLS"><a class="permalink" href="#SYMBOLS">SYMBOLS</a></h2
1385
1385
single dot ‘< code class ="Li "> .</ code > ’, which may not be the
1386
1386
first character.</ p >
1387
1387
< p class ="Pp "> A symbol cannot have the same name as a reserved keyword, unless
1388
- it is prefixed by a hash ‘#’. For example,
1388
+ its name is a “raw identifier” prefixed by a hash
1389
+ ‘#’. For example,
1389
1390
‘< code class ="Li "> #load</ code > ’ denotes a symbol named
1390
1391
‘< code class ="Li "> load</ code > ’, and
1391
1392
‘< code class ="Li "> #LOAD</ code > ’ denotes a different symbol
@@ -1548,7 +1549,7 @@ <h3 class="Ss" id="Variables"><a class="permalink" href="#Variables">Variables</
1548
1549
< section class ="Ss ">
1549
1550
< h3 class ="Ss " id ="Numeric_constants "> < a class ="permalink " href ="#Numeric_constants "> Numeric
1550
1551
constants</ a > </ h3 >
1551
- < p class ="Pp "> < code class ="Ic "> EQU</ code > is used to define immutable numeric
1552
+ < p class ="Pp "> < code class ="Ic "> EQU</ code > is used to define numeric constant
1552
1553
symbols. Unlike ‘=’ above, constants defined this way cannot
1553
1554
be redefined. These constants can be used for unchanging values such as
1554
1555
properties of the hardware.</ p >
@@ -1669,7 +1670,9 @@ <h3 class="Ss" id="String_constants"><a class="permalink" href="#String_constant
1669
1670
‘< code class ="Li "> DEF name EQU/=/EQUS/etc ...</ code > ’,
1670
1671
‘< code class ="Li "> PURGE name</ code > ’, and
1671
1672
‘< code class ="Li "> MACRO name</ code > ’ will not expand string
1672
- constants in their names.</ p >
1673
+ constants in their names. Expansion is also disabled if the string
1674
+ constant's name is a raw identifier prefixed by a hash
1675
+ ‘#’.</ p >
1673
1676
< div class ="Bd Pp Bd-indent Li ">
1674
1677
< pre > DEF COUNTREG EQUS "[hl+]"
1675
1678
ld a, COUNTREG
@@ -2155,9 +2158,8 @@ <h3 class="Ss" id="Invoking_macros"><a class="permalink" href="#Invoking_macros"
2155
2158
use the rest, you put the argument number in angle brackets, like
2156
2159
< code class ="Ic "> \<10></ code > .</ p >
2157
2160
< p class ="Pp "> This bracketed syntax supports decimal numbers and numeric
2158
- constant symbols. For example,
2159
- ‘< code class ="Li "> \<_NARG></ code > ’ will get the last
2160
- argument.</ p >
2161
+ symbols. For example, ‘< code class ="Li "> \<_NARG></ code > ’
2162
+ will get the last argument.</ p >
2161
2163
< p class ="Pp "> Other macro arguments and symbol interpolations will also be
2162
2164
expanded inside the angle brackets. For example, if
2163
2165
‘< code class ="Li "> \1</ code > ’ is
0 commit comments