mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fix incorrect macro used for x-ref
This commit is contained in:
@@ -231,6 +231,7 @@ There are a number of escape sequences you can use within a string:
|
|||||||
.It Ql \[rs]{ Ta Curly bracket left
|
.It Ql \[rs]{ Ta Curly bracket left
|
||||||
.It Ql \[rs]} Ta Curly bracket right
|
.It Ql \[rs]} Ta Curly bracket right
|
||||||
.It Ql \[rs]n Ta Newline ($0A)
|
.It Ql \[rs]n Ta Newline ($0A)
|
||||||
|
.It Ql \[rs]r Ta Carriage return ($0D)
|
||||||
.It Ql \[rs]t Ta Tab ($09)
|
.It Ql \[rs]t Ta Tab ($09)
|
||||||
.It Qo \[rs]1 Qc \[en] Qo \[rs]9 Qc Ta Macro argument (Only the body of a macro, see Sx Invoking macros )
|
.It Qo \[rs]1 Qc \[en] Qo \[rs]9 Qc Ta Macro argument (Only the body of a macro, see Sx Invoking macros )
|
||||||
.It Ql \[rs]@ Ta Label name suffix (Only in the body of macros and REPTs)
|
.It Ql \[rs]@ Ta Label name suffix (Only in the body of macros and REPTs)
|
||||||
@@ -1031,7 +1032,7 @@ Nesting unions is possible, with each inner union's size being considered as des
|
|||||||
Unions may be used in any section, but inside them may only be
|
Unions may be used in any section, but inside them may only be
|
||||||
.Ic DS -
|
.Ic DS -
|
||||||
like commands (see
|
like commands (see
|
||||||
.Xr Declaring variables in a RAM section ) .
|
.Sx Declaring variables in a RAM section ) .
|
||||||
.Sh THE MACRO LANGUAGE
|
.Sh THE MACRO LANGUAGE
|
||||||
.Ss Invoking macros
|
.Ss Invoking macros
|
||||||
.Pp
|
.Pp
|
||||||
@@ -1179,6 +1180,9 @@ will get the value of
|
|||||||
and so forth.
|
and so forth.
|
||||||
.Pp
|
.Pp
|
||||||
This is the only way of accessing the value of arguments from 10 to 256.
|
This is the only way of accessing the value of arguments from 10 to 256.
|
||||||
|
.Pp
|
||||||
|
.Ic SHIFT
|
||||||
|
can optionally be given an integer parameter, and will apply the above shifting that number of times.
|
||||||
.Ss Printing things during assembly
|
.Ss Printing things during assembly
|
||||||
.Pp
|
.Pp
|
||||||
The next four commands print text and values to the standard output.
|
The next four commands print text and values to the standard output.
|
||||||
@@ -1308,7 +1312,7 @@ or
|
|||||||
If the assertion fails,
|
If the assertion fails,
|
||||||
.Ic WARN
|
.Ic WARN
|
||||||
will cause a simple warning (controlled by
|
will cause a simple warning (controlled by
|
||||||
.Xr rgbasm 1 DIAGNOSTICS
|
.Xr rgbasm 1
|
||||||
flag
|
flag
|
||||||
.Fl Wassert )
|
.Fl Wassert )
|
||||||
to be emitted;
|
to be emitted;
|
||||||
|
|||||||
Reference in New Issue
Block a user