Mark up #define with Fd.

This commit is contained in:
Anthony J. Bentley
2018-07-28 01:48:45 -06:00
parent 46fcebe2b5
commit 62ecb6da0b

View File

@@ -297,7 +297,9 @@ assembling.
Define a structure easily. Define a structure easily.
.It Sy String equate Pq Sy EQUS .It Sy String equate Pq Sy EQUS
Give a frequently used string a name. Give a frequently used string a name.
Can also be used as a mini-macro, like #define in C. Can also be used as a mini-macro, like
.Fd #define
in C.
.It Sy MACRO .It Sy MACRO
A block of code or pseudo instructions that you invoke like any other mnemonic. A block of code or pseudo instructions that you invoke like any other mnemonic.
You can give them arguments too. You can give them arguments too.
@@ -420,7 +422,8 @@ They don't change their value during the link process.
EQUS is used to define string-symbols. EQUS is used to define string-symbols.
Wherever the assembler meets a string symbol its name is replaced with its Wherever the assembler meets a string symbol its name is replaced with its
value. value.
If you are familiar with C you can think of it as the same as #define. If you are familiar with C you can think of it as the same as
.Fd #define .
.Pp .Pp
.Bd -literal -offset indent .Bd -literal -offset indent
COUNTREG EQUS "[hl+]" COUNTREG EQUS "[hl+]"