nasm/doc
Knut St. Osmundsen 3c72a1b3b3 Add option to allow 64-bit code in any output format
Add the option --allow-64-bit to permit the generation of 64-bit code
even for a 16/32-bit output format.

Using NASM to do some boot strapping code and ran into trouble when
trying to emit a few 64-bit instructions in the OMF object file doing
the mode switching.  While I can see how the "error: obj output format
does not support 64-bit code" message can be a useful reality check
for application programmers, it prevents low-level programmers from
doing what they want.  It if was just a harmless warning, it wouldn't
be so bad, but it turns BITS 64 into BITS 16. The main trick to mixing
64-bit code into OMF and other 32-bit output formats is to avoid
64-bit sized fixups, which normally isn't too hard.

[hpa: shortened the option name to --allow-64-bit, minor code cleanups]

Signed-off-by: Knut St. Osmundsen <bird-nasm@anduin.net>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2016-01-26 12:34:41 -08:00
..
metrics
afmmetrics.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
changes.src doc: Update changes list 2015-07-26 14:42:30 +03:00
genps.pl psfonts.ph: increase leading to font size+20% 2012-02-25 15:46:38 -08:00
genpsdriver.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
head.ps doc: ps/pdf: set page numbers in normal-sized italic 2008-06-15 21:18:08 -07:00
inslist.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
internal.doc Better explanation why insnsa.c is a separate module 2002-05-25 01:39:12 +00:00
makedocs.bat Add autogenerated instruction list to NASM documentation 2008-01-20 16:27:03 -08:00
Makefile.in doc: inslist.src is an intermediate file, move to "make clean" 2010-06-25 13:40:10 -07:00
nasmdoc.src Add option to allow 64-bit code in any output format 2016-01-26 12:34:41 -08:00
nasmlogo.eps doc: New NASM logo 2012-02-25 14:53:34 -08:00
opt_var.txt add John Coffman's optimizer documentation 2005-03-10 02:03:11 +00:00
psfonts.ph psfonts.ph: increase leading to font size+20% 2012-02-25 15:46:38 -08:00
pswidth.ph
rdsrc.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00