mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Replace UTF-8 hyphens with ASCII ones in man pages
This commit is contained in:
@@ -25,11 +25,11 @@ Generally,
|
|||||||
.Dq the linker
|
.Dq the linker
|
||||||
will refer to
|
will refer to
|
||||||
.Xr rgblink 1 ,
|
.Xr rgblink 1 ,
|
||||||
but any program that processes RGB object files (described in
|
but any program that processes RGBDS object files (described in
|
||||||
.Xr rgbds 5 )
|
.Xr rgbds 5 )
|
||||||
can be used in its place.
|
can be used in its place.
|
||||||
.Sh SYNTAX
|
.Sh SYNTAX
|
||||||
The syntax is line‐based, just as in any other assembler, meaning that you do one instruction or directive per line:
|
The syntax is line-based, just as in any other assembler, meaning that you do one instruction or directive per line:
|
||||||
.Pp
|
.Pp
|
||||||
.Dl Oo Ar label Oc Oo Ar instruction Oc Oo Ar ;\ comment Oc
|
.Dl Oo Ar label Oc Oo Ar instruction Oc Oo Ar ;\ comment Oc
|
||||||
.Pp
|
.Pp
|
||||||
@@ -38,7 +38,7 @@ Example:
|
|||||||
John: ld a,87 ;Weee
|
John: ld a,87 ;Weee
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
All reserved keywords (directives, mnemonics, registers, etc.) are case‐insensitive;
|
All reserved keywords (directives, mnemonics, registers, etc.) are case-insensitive;
|
||||||
all identifiers (symbol names) are case-sensitive.
|
all identifiers (symbol names) are case-sensitive.
|
||||||
.Pp
|
.Pp
|
||||||
Comments are used to give humans information about the code, such as explanations.
|
Comments are used to give humans information about the code, such as explanations.
|
||||||
@@ -177,7 +177,7 @@ and
|
|||||||
.Pp
|
.Pp
|
||||||
.Ic \&!
|
.Ic \&!
|
||||||
returns 1 if the operand was 0, and 0 otherwise.
|
returns 1 if the operand was 0, and 0 otherwise.
|
||||||
.Ss Fixed‐point Expressions
|
.Ss Fixed-point Expressions
|
||||||
Fixed-point numbers are basically normal (32-bit) integers, which count 65536ths instead of entire units, offering better precision than integers but limiting the range of values.
|
Fixed-point numbers are basically normal (32-bit) integers, which count 65536ths instead of entire units, offering better precision than integers but limiting the range of values.
|
||||||
The upper 16 bits are used for the integer part and the lower 16 bits are used for the fraction (65536ths).
|
The upper 16 bits are used for the integer part and the lower 16 bits are used for the fraction (65536ths).
|
||||||
Since they are still akin to integers, you can use them in normal integer expressions, and some integer operators like
|
Since they are still akin to integers, you can use them in normal integer expressions, and some integer operators like
|
||||||
@@ -606,7 +606,7 @@ depending on
|
|||||||
.It Ic ALIGN Ns Bq Ar align , offset
|
.It Ic ALIGN Ns Bq Ar align , offset
|
||||||
Place the section at an address whose
|
Place the section at an address whose
|
||||||
.Ar align
|
.Ar align
|
||||||
least‐significant bits are equal to
|
least-significant bits are equal to
|
||||||
.Ar offset .
|
.Ar offset .
|
||||||
(Note that
|
(Note that
|
||||||
.Ic ALIGN Ns Bq Ar align
|
.Ic ALIGN Ns Bq Ar align
|
||||||
@@ -1173,7 +1173,6 @@ DEF definition EQUS "MACRO inner\[rs]nPRINTLN \[rs]"Hello!\[rs]"\[rs]nENDM"
|
|||||||
PURGE definition
|
PURGE definition
|
||||||
ENDM
|
ENDM
|
||||||
.Ed
|
.Ed
|
||||||
.El
|
|
||||||
.Pp
|
.Pp
|
||||||
Macro arguments support all the escape sequences of strings, as well as
|
Macro arguments support all the escape sequences of strings, as well as
|
||||||
.Ql \[rs],
|
.Ql \[rs],
|
||||||
@@ -1682,9 +1681,9 @@ You can customize the range of
|
|||||||
values:
|
values:
|
||||||
.Bl -column "FOR V, start, stop, step"
|
.Bl -column "FOR V, start, stop, step"
|
||||||
.It Sy Code Ta Sy Range
|
.It Sy Code Ta Sy Range
|
||||||
.It Ic FOR Ar V , stop Ta Ar V No increments from 0 to Ar stop No
|
.It Ic FOR Ar V , stop Ta Ar V No increments from 0 to Ar stop
|
||||||
.It Ic FOR Ar V , start , stop Ta Ar V No increments from Ar start No to Ar stop No
|
.It Ic FOR Ar V , start , stop Ta Ar V No increments from Ar start No to Ar stop
|
||||||
.It Ic FOR Ar V , start , stop , step Ta Ar V No goes from Ar start No to Ar stop No by Ar step No
|
.It Ic FOR Ar V , start , stop , step Ta Ar V No goes from Ar start No to Ar stop No by Ar step
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
|
|||||||
@@ -22,11 +22,11 @@ This toolchain is in development and new features may require adding more inform
|
|||||||
The following types are used:
|
The following types are used:
|
||||||
.Pp
|
.Pp
|
||||||
.Ar LONG
|
.Ar LONG
|
||||||
is a 32‐bit integer stored in little‐endian format.
|
is a 32-bit integer stored in little-endian format.
|
||||||
.Ar BYTE
|
.Ar BYTE
|
||||||
is an 8‐bit integer.
|
is an 8-bit integer.
|
||||||
.Ar STRING
|
.Ar STRING
|
||||||
is a 0‐terminated string of
|
is a 0-terminated string of
|
||||||
.Ar BYTE .
|
.Ar BYTE .
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
; Header
|
; Header
|
||||||
|
|||||||
Reference in New Issue
Block a user