ref: 55a02981b51b8fba92bd4ebb19956dac46cff561
parent: b06e3b239d128826a33c97f38217cda0c25fee54
author: Rangi <35663410+Rangi42@users.noreply.github.com>
date: Fri Nov 12 12:06:02 EST 2021
Small updates to documentation wording (#939) Fixes #936
--- a/src/asm/rgbasm.1
+++ b/src/asm/rgbasm.1
@@ -214,7 +214,7 @@
This warning is enabled by
.Fl Wall .
.It Fl Wdiv
-Warn when dividing the smallest negative integer by -1, which yields itself due to integer overflow.
+Warn when dividing the smallest negative integer (-2**31) by -1, which yields itself due to integer overflow.
.It Fl Wempty-macro-arg
Warn when a macro argument is empty.
This warning is enabled by
@@ -261,7 +261,7 @@
.Fl Wtruncation=2
or just
.Fl Wtruncation
-also warns when an N-bit value is below -2**(N-1), which will not fit in two's complement encoding.
+also warns when an N-bit value is less than -2**(N-1), which will not fit in two's complement encoding.
.It Fl Wno-user
Warn when the
.Ic WARN
--- a/src/asm/rgbasm.5
+++ b/src/asm/rgbasm.5
@@ -2029,7 +2029,7 @@
lower bits equal to
.Ar offset .
.Pp
-If the constraint cannot be met (for example because the section is fixed at an incompatible address), and error is produced.
+If the constraint cannot be met (for example because the section is fixed at an incompatible address), an error is produced.
Note that
.Ic ALIGN Ar align
is a shorthand for