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
.Ar type Ns s
are as follows:
.Bl -tag
.Bl -tag -width Ds
.It Ic ROM0
A ROM section.
.Ar addr
@@ -602,7 +602,7 @@ sections.
To put some in RAM, have it stored in ROM, and copy it to RAM.
.Pp
.Ar option Ns s are comma-separated and may include:
.Bl -tag
.Bl -tag -width Ds
.It Ic BANK Ns Bq Ar bank
Specify which
.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
MACRO add_item
redef NUM_ITEMS equ NUM_ITEMS + 1
def ITEM_{02x:NUM_ITEMS} equ \1
def ITEM_{02x:NUM_ITEMS} equ \[rs]1
ENDM
add_item 1
add_item 4
@@ -1265,7 +1265,6 @@ Linking failed with 1 error
.Pp
Note also that only exported symbols will appear in symbol and map files produced by
.Xr rgblink 1 .
.Pp
.Ss Purging symbols
.Ic PURGE
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
.Sh LEGEND
List of abbreviations used in this document.
.Bl -tag
.Bl -tag -width Ds
.It Ar r8
Any of the 8-bit registers
.Pq Sy A , B , C , D , E , H , L .
@@ -53,7 +53,7 @@ to
.Pc .
.It Ar cc
Condition codes:
.Bl -tag -compact
.Bl -tag -width Ds -compact
.It Sy Z
Execute if Z is set.
.It Sy NZ
@@ -67,10 +67,9 @@ Execute if C is not set.
One of the
.Sy RST
vectors
.Po Ad 0x00 , 0x08 , 0x10 , 0x18 , 0x20 , 0x28 , 0x30
.Po Ad 0x00 , 0x08 , 0x10 , 0x18 , 0x20 , 0x28 , 0x30 ,
and
.Sy 0x38
.Pc .
.Ad 0x38 Pc .
.El
.Sh INSTRUCTION OVERVIEW
.Ss 8-bit Arithmetic and Logic Instructions
@@ -1029,7 +1028,7 @@ Bytes: 1
Flags: None affected.
.Pp
This is sometimes written as
.Ql LD A,[HL+], ,
.Ql LD A,[HL+] ,
or
.Ql LDI A,[HL] .
.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 $21 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 $31 Ta Li != comparison
.It Li $32 Ta Li > comparison