Make the spellings for the label-mangling options and pragmas
consistent, and implement the directive forms which were documented
but never implemented.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
"suffix" is the more common English term, but NASM used "postfix" for
a long time. Allow them as aliases, and tidy up the documentation
accordingly. While making these changes, tidy up the handling of
options in the index.
Fixes: https://github.com/netwide-assembler/nasm/pull/61
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This is really just a shorthand for the --before option, but it is
really convenient for quickly writing multimode tests.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Although one can implement this "manually" in terms of %sel(), this
function is *really* useful for making multi-mode tests and allows for
better error checking.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
The GROUP directive can now be specified more than once for a group,
and the result is cumulative (the union of all specified groups.)
Signed-off-by: KO Myung-Hun <komh78@gmail.com>
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Merge PRs 127, 126, 125, 124 and 91. Document some of the most relevant
changes.
Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
Looks like there are enough critical changes to justify a release
without a bunch of new development. Let's just call the new
release 3.01 and avoid a bunch of excess dottage.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
The column width really wasn't quite enough.
Make the text size in Appendix F which can be rather wide
smaller. There is also no real reason to put that in a background box.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
- append /html if htmldir = docdir
- Run autogen.sh with --cleanenv
- Actually use PDFZ and not just Z in doc/Makefile.in.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
- Add an option to use "make install" to install .pdf.xz
- Fix RPM spec file to put the documentation in doc/nasm instead of
doc/nasm-doc.
- RPM doesn't like unversioned Obsoletes; set a valid cutoff.
- Make nasm-doc depend on nasm.
- Add zlib-devel as a build dependency.
- Add EXTRA_CFLAGS and EXTRA_LDFLAGS for some automated platforms.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
SPDX is an international standard for documenting software license
requirements. Remove the existing headers and replace with a brief
SPDX preamble.
See: https://spdx.dev/use/specifications/
The script used to convert the files is added to "tools", and the
file header templates in headers/ are updated.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
- Document the [LIST] directive
- Add an option -LF to ignore the [LIST] directive
- Fix [LIST -] suppressing output on a following pass
- Minor other documentation fixes
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Start the subchapter on jmp and call syntax summary. Move the far call
syntax paragraph from language chapter to the syntax chapter.
Add a couple of paragraphs about possible syntaxes of the jump/call
instructions.
Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
Add a split EA subchapter to the syntax chapter end remove it from the
language chapter, leaving a hyperlink to the new location.
Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
The syntax chapter is supposed to be about concepts or instructions that
either have a lot of different syntaxes or new/odd ones.
Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
\I without anything in the curly brackets made the "procedure linkage
table" text disappear.
Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
Make a note about the availability of the cccl wrapper for building
with MSVC using GNU make.
Minor tidying up of the building from source section in general.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>