Fix mandoc warnings

This commit is contained in:
ISSOtm
2021-05-15 12:23:05 +02:00
parent 011d4ec392
commit aa02958e18
3 changed files with 10 additions and 12 deletions

View File

@@ -494,7 +494,7 @@ All other sections must have a unique name, even in different source files, or t
Possible section Possible section
.Ar type Ns s .Ar type Ns s
are as follows: are as follows:
.Bl -tag .Bl -tag -width Ds
.It Ic ROM0 .It Ic ROM0
A ROM section. A ROM section.
.Ar addr .Ar addr
@@ -602,7 +602,7 @@ sections.
To put some in RAM, have it stored in ROM, and copy it to RAM. To put some in RAM, have it stored in ROM, and copy it to RAM.
.Pp .Pp
.Ar option Ns s are comma-separated and may include: .Ar option Ns s are comma-separated and may include:
.Bl -tag .Bl -tag -width Ds
.It Ic BANK Ns Bq Ar bank .It Ic BANK Ns Bq Ar bank
Specify which Specify which
.Ar bank .Ar bank
@@ -978,7 +978,7 @@ This can be used, for example, to update a constant using a macro, without makin
def NUM_ITEMS equ 0 def NUM_ITEMS equ 0
MACRO add_item MACRO add_item
redef NUM_ITEMS equ NUM_ITEMS + 1 redef NUM_ITEMS equ NUM_ITEMS + 1
def ITEM_{02x:NUM_ITEMS} equ \1 def ITEM_{02x:NUM_ITEMS} equ \[rs]1
ENDM ENDM
add_item 1 add_item 1
add_item 4 add_item 4
@@ -1265,7 +1265,6 @@ Linking failed with 1 error
.Pp .Pp
Note also that only exported symbols will appear in symbol and map files produced by Note also that only exported symbols will appear in symbol and map files produced by
.Xr rgblink 1 . .Xr rgblink 1 .
.Pp
.Ss Purging symbols .Ss Purging symbols
.Ic PURGE .Ic PURGE
allows you to completely remove a symbol from the symbol table as if it had never existed. allows you to completely remove a symbol from the symbol table as if it had never existed.

View File

@@ -28,7 +28,7 @@ OR B
.Ed .Ed
.Sh LEGEND .Sh LEGEND
List of abbreviations used in this document. List of abbreviations used in this document.
.Bl -tag .Bl -tag -width Ds
.It Ar r8 .It Ar r8
Any of the 8-bit registers Any of the 8-bit registers
.Pq Sy A , B , C , D , E , H , L . .Pq Sy A , B , C , D , E , H , L .
@@ -53,7 +53,7 @@ to
.Pc . .Pc .
.It Ar cc .It Ar cc
Condition codes: Condition codes:
.Bl -tag -compact .Bl -tag -width Ds -compact
.It Sy Z .It Sy Z
Execute if Z is set. Execute if Z is set.
.It Sy NZ .It Sy NZ
@@ -67,10 +67,9 @@ Execute if C is not set.
One of the One of the
.Sy RST .Sy RST
vectors vectors
.Po Ad 0x00 , 0x08 , 0x10 , 0x18 , 0x20 , 0x28 , 0x30 .Po Ad 0x00 , 0x08 , 0x10 , 0x18 , 0x20 , 0x28 , 0x30 ,
and and
.Sy 0x38 .Ad 0x38 Pc .
.Pc .
.El .El
.Sh INSTRUCTION OVERVIEW .Sh INSTRUCTION OVERVIEW
.Ss 8-bit Arithmetic and Logic Instructions .Ss 8-bit Arithmetic and Logic Instructions
@@ -1029,7 +1028,7 @@ Bytes: 1
Flags: None affected. Flags: None affected.
.Pp .Pp
This is sometimes written as This is sometimes written as
.Ql LD A,[HL+], , .Ql LD A,[HL+] ,
or or
.Ql LDI A,[HL] . .Ql LDI A,[HL] .
.Ss LD SP,n16 .Ss LD SP,n16

View File

@@ -232,7 +232,7 @@ with some bytes being special prefixes for integers and symbols.
.It Li $13 Ta Li unary ~ .It Li $13 Ta Li unary ~
.It Li $21 Ta Li && comparison .It Li $21 Ta Li && comparison
.It Li $22 Ta Li || comparison .It Li $22 Ta Li || comparison
.It Li $23 Ta Li unary\ ! .It Li $23 Ta Li unary \&!
.It Li $30 Ta Li == comparison .It Li $30 Ta Li == comparison
.It Li $31 Ta Li != comparison .It Li $31 Ta Li != comparison
.It Li $32 Ta Li > comparison .It Li $32 Ta Li > comparison