H. Peter Anvin
21513e822f
inslist.pl: deal with the new encoding format
...
Make it possible for inslist.pl to understand the new encoding format;
fix a few minor buglets.
2008-05-20 18:33:40 -07:00
Charles Crayne
a762ca544b
Avoid long line warning when generating nasm docs
...
rdsrc.pl limits lines to 68 characters for some formats
2008-04-12 13:35:43 -07:00
Charles Crayne
8ca31b48af
Document avaiabily of DWARF for ELF32 and ELF64
2008-04-07 14:26:29 -07:00
H. Peter Anvin
134b94665d
Add %ifempty and variants
2008-02-16 17:01:40 -08:00
H. Peter Anvin
cbf768d67d
Implement %iftoken, test for a single token
...
Implement %iftoken, a test for a single token. This is useful in
cases using %+ to splice a macro-provided token.
2008-02-16 16:41:25 -08:00
H. Peter Anvin
8c01b0b409
Use term "host platform" consistently
2008-02-16 14:57:45 -08:00
H. Peter Anvin
70e63c9a9a
Add standard time macro boilerplate to __POSIX_TIME__
2008-02-16 14:56:49 -08:00
H. Peter Anvin
6b18bcce46
BR 774131: date and time macros
...
This checkin creates the following date and time macros:
__DATE__, __TIME__, __UTC_DATE__, __UTC_TIME__: strings
__DATE_NUM__, __TIME_NUM__, __UTC_DATE_NUM__, __UTC_TIME_NUM__:
civil dates in digit-string formats
__POSIX_TIME__: time in POSIX time_t format
2008-02-16 14:54:10 -08:00
H. Peter Anvin
8960f37b9c
doc/Makefile.in: avoid deleting opt_var.txt, fix dependencies
...
Fix dependencies in the generation of the instruction list, and make
sure we don't delete opt_var.txt on "make spotless".
2008-01-20 21:50:02 -08:00
Charles Crayne
c17a0eb31b
Add autogenerated instruction list to NASM documentation
...
1. Allow included files in rdsrc.pl
2. New program inslist.pl to generate instruction list from insns.dat
3. Mark certain comments in insns.dat as documentation subheaders
4. Add Instruction List appendix to nasmdoc.src
5. Update build process to invoke inslist.pl
2008-01-20 16:27:03 -08:00
Charles Crayne
1727b3d0eb
Check in Ed Beroset's documentation fix
...
Correct count in %strlen example
2007-12-28 15:00:03 -08:00
H. Peter Anvin
e55c836b5a
Document naming of registers in 64-bit mode
...
Intel's docs diverge from AMD's docs (MASM follow AMD's docs);
formally document what we're doing and include a file of macros in
case someone wants to use alternate names.
2007-12-10 15:35:28 -08:00
H. Peter Anvin
5f5a252a36
Refer to version 2.00 consistently as 2.00 not 2.0
2007-11-29 17:30:11 -08:00
H. Peter Anvin
869ed26461
doc: 16- and 128-bit floating point were also new for 2.0
2007-11-29 17:29:37 -08:00
H. Peter Anvin
f7acb2f902
Update install instructions; remove references to nasmw.exe
2007-11-29 17:28:05 -08:00
H. Peter Anvin
72da449a41
doc: s/NASM/nasm/ in invocation example
...
On case-sensitive systems, "NASM" doesn't work.
2007-11-29 17:20:45 -08:00
H. Peter Anvin
d1e8ba6039
-o is output filename, not output format
2007-11-29 17:19:49 -08:00
H. Peter Anvin
3e30d5aefe
Give an example on how Unix and Win64 count argument differently
2007-11-29 17:17:35 -08:00
H. Peter Anvin
52b4d6d7b0
Allow numbers to be sorted separately from letters
...
Allow numbers to be sorted separately from letters.
2007-11-29 17:10:04 -08:00
H. Peter Anvin
540f903928
nasmdoc.src: editorial changes
2007-11-29 17:07:53 -08:00
H. Peter Anvin
c780557e15
%ixdefine, not %xidefine
...
The docs had %xidefine, the code has %ixdefine. The code wins.
2007-11-29 13:10:08 -08:00
Charles Crayne
f2098e9935
Documention Changes for Release 2.00
...
modified: CHANGES
modified: ChangeLog
modified: doc/nasmdoc.src
2007-11-25 14:25:13 -08:00
H. Peter Anvin
21eed86871
Typo fixes in documentation
...
Typo fixes in documentation, including BR 1836379
2007-11-24 16:31:48 -08:00
H. Peter Anvin
24588d35e7
Remove FIXME from documentation
...
This better work now, we're in release candidate mode.
2007-11-17 21:21:18 -08:00
Charles Crayne
db90f35d89
Check in Keith's Fixes
...
1. Don't warn on 32-bit overflow
2. Change EM64T to Intel 64 in Defining CPU Dependencies
section of documentation.
2007-11-17 21:08:33 -08:00
root
dbb1828ad5
Support setting OSABI value in ELF header.
2007-11-13 19:52:54 -08:00
Charles Crayne
c22ae5cb12
Update documentation for stack relative directives.
...
Bring a few other sections up to date.
2007-11-10 21:55:19 -08:00
Charles Crayne
9fb030f8cd
Update documantation for stack relative directives
2007-11-09 16:37:41 -08:00
Charles Crayne
102cdadb6f
Update documentation for stack relative directives
2007-11-09 16:25:43 -08:00
H. Peter Anvin
88602aa53a
ps2pdf: remove -dOptimize=true
...
Remove -dOptimize=true; it actually generates larger output, since the
optimization performed is "network optimization".
2007-11-08 20:29:37 -08:00
H. Peter Anvin
2ce0274303
Use a 32-bit floating-point limb size; support 8-bit float
...
Use a 32-bit limb size ("like a digit, but bigger") for floating-point
conversion. This cuts the number of multiplications per constant by a
factor of four.
This means supporting fractional-limb-sized numbers, so while we're at
it, add support for 8-bit floating point numbers (apparently used in
graphics and in audio compression applications.)
2007-10-29 20:20:12 -07:00
Charles Crayne
650dc9d004
Update sections about debug info formats
2007-10-24 15:30:17 -07:00
H. Peter Anvin
7065309739
Formatting: kill off "stealth whitespace"
...
"Stealth whitespace" makes it harder to read diffs, and just generally
cause unwanted weirdness. Do a source-wide pass to get rid of it.
2007-10-19 14:42:29 -07:00
Charles Crayne
f3eea3d539
Suppress datarootdir warnings from configure
2007-10-18 23:33:06 -07:00
H. Peter Anvin
f6c9e65d4f
Implement floating-point option control directive
...
New directive [FLOAT] with associated standard macros; allows the
setting to be saved and restored.
2007-10-16 14:40:27 -07:00
H. Peter Anvin
fd7dd11345
Create option -Ox to tell NASM to do unlimited passes
...
Add option -Ox to tell NASM to do as many passes as it needs, instead
of imposing a fixed number.
2007-10-10 14:06:59 -07:00
H. Peter Anvin
413fb900bf
nasm option reshuffling, -E -> -Z
...
Old -E becomes -Z
New -E is alias for -e
Remove the obsolete -r option
2007-09-26 15:19:28 -07:00
H. Peter Anvin
4cba95cf81
nasmdoc: corrections on 64-bit immediates/displacements
...
Corrections the section on 64-bit immediates and displacements. In
particular, immediates are sign-extended the same way displacements
are (and the same way 8-bit immediates are), so there is some use for
the 7-byte mov eax,dword imm form :(
2007-09-25 20:36:45 -07:00
H. Peter Anvin
64b3a9c56b
nasmdoc: shorten lines which are too long
2007-09-25 16:02:21 -07:00
H. Peter Anvin
f664bf1ed6
Document NASM behaviour for 64-bit immediates and displacements
...
Document (intended) NASM behaviour for 64-bit immediates and
displacements.
2007-09-25 16:01:07 -07:00
H. Peter Anvin
ed29882b51
nasmdoc: grammar fix
...
half -> halves
2007-09-24 13:54:00 -07:00
H. Peter Anvin
1fd23400fd
nasmdoc: remove stray periods
...
A title line doesn't end in a period.
2007-09-24 13:44:02 -07:00
H. Peter Anvin
37a321fbbe
Implement the -MG option (SF RFE 1564264)
...
Implement the -MG option, to generate dependencies in the presence of
generated files. In the end, we probably need to support the full
gamut of GCC-like dependency-generation options.
2007-09-24 13:41:58 -07:00
H. Peter Anvin
dee8eaa967
nasmdoc: clarify __float*__ example
2007-09-24 12:52:09 -07:00
H. Peter Anvin
ea043ef039
nasmdoc: document the __float*__ operators
2007-09-24 12:44:38 -07:00
H. Peter Anvin
25a993488c
BR 1783117: Document that %+ needs a space after it, and fix crash
...
Document that %+ needs a space after it due to collision with %+1
syntax for multiline macro arguments; make it issue an error message
rather than crashing.
2007-09-22 17:45:45 -07:00
H. Peter Anvin
8084f105a2
Document Infinity and NaN
...
Add __Infinity__, __QNaN__, and __SNaN__ to the documentation.
2007-09-18 22:08:04 -07:00
H. Peter Anvin
5107d672a0
Update documentation
...
Document new floating-point capabilities, and clean up the discussion
about BITS 64 and REX prefixes.
2007-09-18 19:12:26 -07:00
H. Peter Anvin
0edc309505
Document oword, do and reso
...
Document oword and the associated do and reso pseudoinstructions.
2007-09-18 13:45:12 -07:00
H. Peter Anvin
2f3c4c056e
Additional documentation for 64-bit programming
...
Flesh out the documentation for 64-bit programming a little bit; in
particular, include links to the ABI documentation for various
platforms.
2007-09-17 13:03:33 -07:00
H. Peter Anvin
d105682096
Remove $Id$ tags (useless with git)
...
Remove CVS $Id$ tags, since git doesn't use them.
2007-09-12 21:05:06 -07:00
H. Peter Anvin
9c06db6935
doc: add some cross-references
2007-09-11 23:57:23 +00:00
H. Peter Anvin
9b49e24e1f
Feeble attempt at updating the documentation; remove Appendix B
...
Feeble attempt to document 64-bit support. Also, remove Appendix B since
we have been utterly useless at keeping it up to date, and it's redundant
with the processor manufacturer's documentation anyway.
2007-09-11 23:52:01 +00:00
Frank Kotler
155eef6a3d
finally commit Mike Frysinger's "elf-visibility" patch
2007-08-26 05:10:24 +00:00
Chuck Crayne
b7eea1c940
Addition of elf32 and elf64 output formats.
...
Addition of ! as unary operator in expression evaluation.
Allow numeric constants in DQ directive.
2007-05-04 02:16:08 +00:00
Keith Kanios
b7a89544d0
General push for x86-64 support, dubbed 0.99.00.
2007-04-12 02:40:54 +00:00
Eric Christopher
1e0de6e913
Fix documentation building for non-srcdir builds. Still bugs in .ps implementation.
...
Add Mach-O documentation.
2006-02-04 00:23:30 +00:00
Frank Kotler
9d8c22b202
add John Coffman's optimizer documentation
2005-03-10 02:03:11 +00:00
Frank Kotler
c0e34d4f81
Document maximum identifier length
2004-12-31 03:38:32 +00:00
Frank Kotler
6f7a5a60dc
Touch up docs
2003-12-12 07:54:15 +00:00
Frank Kotler
b4a1735c47
Update rdoff
2003-12-12 06:18:07 +00:00
H. Peter Anvin
9173ab9961
Update documentation slightly; remove weird special-casing of -O2 and -O3
2003-08-29 19:25:46 +00:00
Frank Kotler
d0ed6fd30d
Alexei's patch to allow "-I" paths to be searched for "incbin"ed files
2003-08-27 11:33:56 +00:00
H. Peter Anvin
ad4f0e09f3
Support "cpu prescott"
2003-02-25 00:03:00 +00:00
H. Peter Anvin
bf2faec654
Update copyright year
2003-02-24 23:32:00 +00:00
H. Peter Anvin
792600f48b
Improve language
2003-02-24 23:28:48 +00:00
Frank Kotler
8fa0d037f3
"Q" and "O" suffixes now indicate octal - touch up docs
2003-02-06 02:44:08 +00:00
Frank Kotler
3967c3d476
update docs - multisection, [list +/-], --prefix, pslldq/psrldq (?), etc.
2003-02-04 17:21:02 +00:00
Frank Kotler
e5ffcb333a
fix reported bug in doc - cosmetic touchups
2002-12-07 00:44:19 +00:00
H. Peter Anvin
a04f636bd0
Fix the definition of PSLLDQ (BR 578123)
2002-11-10 06:13:37 +00:00
H. Peter Anvin
fc869bac3d
Visual C++ error format needs <space>:<space> after the parentheses.
2002-06-10 00:41:41 +00:00
Ed Beroset
a8d4f4b24a
Added documentation for -X command line switch which allows the user to
...
specify the desired error reporting output format.
2002-06-09 23:22:25 +00:00
H. Peter Anvin
26575434d3
Don't hard-code '.' as the current directory
2002-06-04 00:44:46 +00:00
H. Peter Anvin
626b957c5f
Document "CPU IA64"
2002-06-02 07:23:28 +00:00
Debbie Wiles
4cd2604ebf
Altered the documentation for the %! directive
2002-06-01 11:16:49 +00:00
Debbie Wiles
585d422f14
Documented the %! (get environment) preprocessor directive.
2002-05-29 15:36:49 +00:00
H. Peter Anvin
b6469d3a84
Allow passing options to genps.pl from the user command line
2002-05-25 22:21:27 +00:00
Debbie Wiles
64fee5a6c8
Documented %xdefine and %xidefine, and fixed an index item in %define.
2002-05-25 13:12:21 +00:00
Debbie Wiles
64de47c0cb
Documented the ___NASM_PATCHLEVEL__ and __NASM_VERSION_ID__ macros.
2002-05-25 03:05:05 +00:00
H. Peter Anvin
45724a8110
Better explanation why insnsa.c is a separate module
2002-05-25 01:39:12 +00:00
H. Peter Anvin
36775e439f
Missed one undecorated ORG
2002-05-24 20:33:51 +00:00
Debbie Wiles
bbe2f5ef31
Fixed a few typos, tidied up index entries for BIN and its' subentries.
2002-05-24 20:00:52 +00:00
Debbie Wiles
a77955580e
Reversed a few changes erroneously removed in the last update
2002-05-24 19:10:40 +00:00
Debbie Wiles
f128b4b164
Added multisection to documentation for the .bin format, and removed obsolete details.
2002-05-24 14:36:19 +00:00
H. Peter Anvin
8b923b1231
Fix typo: "BIT 16" -> "BITS 16"
2002-05-23 06:40:32 +00:00
H. Peter Anvin
f8ab4baba1
Change space to NBSP to avoid breakage on 'doze platforms
2002-05-22 23:23:02 +00:00
Debbie Wiles
f1bbcf3160
Another change to the STRICT documentation
2002-05-22 20:44:11 +00:00
Debbie Wiles
9642d4fd7f
Updated documentation for the STRICT keyword.
2002-05-22 20:14:52 +00:00
H. Peter Anvin
ae438913af
Document the STRICT keyword
2002-05-22 05:40:50 +00:00
H. Peter Anvin
4c8aaa01b5
Fix em dashes which were broken by charset cleanup change
2002-05-21 06:07:36 +00:00
H. Peter Anvin
078d75ac63
Use File::Spec to try to be more system-independent...
2002-05-21 04:10:57 +00:00
Debbie Wiles
2feab99ee9
Added a reference to the section on mixed size addressing (9.2) to the section on effective addresses (3.3).
2002-05-20 21:46:47 +00:00
H. Peter Anvin
1aa9a42c5d
Clean up the character set handling somewhat.
2002-05-20 19:50:34 +00:00
H. Peter Anvin
f4cf6b4b59
Remove some duplicated spaces.
2002-05-20 19:49:53 +00:00
H. Peter Anvin
7a29118879
Use a driver Perl script to run genps.pl, since Windows Make can't
...
handle `cat ...`
2002-05-18 22:17:28 +00:00
H. Peter Anvin
e0372c8c05
Add version number to the cover page, generated from the version file.
2002-05-18 20:36:25 +00:00
Debbie Wiles
93c50efe34
Changed address to report bugs in ndisasm appendix.
2002-05-17 15:54:24 +00:00
H. Peter Anvin
873e68c1cd
Add one more instance of .rodata
2002-05-17 15:08:13 +00:00
H. Peter Anvin
77a036e213
Make .rodata a recognized ELF section with default attributes
2002-05-17 04:51:10 +00:00
Debbie Wiles
dd5e1fae73
Added documentation for __NASM_SUBMINOR__ and __NASM_VER__ macros.
2002-05-17 01:41:09 +00:00
H. Peter Anvin
eaef5b5ca0
Make the ELF section a bit more accurate; clean up some index items
2002-05-17 01:03:43 +00:00
Debbie Wiles
ce395fe244
Changed \\ to \ in paths for -i command line option
2002-05-17 00:28:47 +00:00
Debbie Wiles
7ad24f6581
Corrected uD# documentation
2002-05-17 00:14:58 +00:00
Debbie Wiles
395fc34155
Another \i --> \I change
2002-05-16 23:48:45 +00:00
H. Peter Anvin
3c0ec87385
Add missing space
2002-05-16 23:30:48 +00:00
H. Peter Anvin
f94b9b4b60
Change \i -> \I in a few places
2002-05-16 23:14:13 +00:00
H. Peter Anvin
4119112869
Fix some formatting inconsistencies in %ifmacro.
2002-05-16 20:02:45 +00:00
H. Peter Anvin
365dc47adb
Include the NASM logo from the specified EPS file rather than hard-coding it.
2002-05-16 19:33:27 +00:00
H. Peter Anvin
2a584cf575
Fix a couple of index terms.
2002-05-16 19:32:49 +00:00
H. Peter Anvin
7557a10045
Minor formatting tweaks.
2002-05-16 18:34:57 +00:00
H. Peter Anvin
ebcd6d8b38
Rip out the old PostScript backend and make the new one official.
2002-05-16 18:15:31 +00:00
H. Peter Anvin
5cea9565e0
Changing "hanging comma" index entries to omit the comma, and to
...
unify with a previous baseword entry if one is present.
2002-05-16 18:08:15 +00:00
H. Peter Anvin
23ae7026a8
Generate "hanging comma" clauses in the index
2002-05-16 06:40:56 +00:00
H. Peter Anvin
238fbcec5a
Change the index term for "overloading multi-line macros" to match
...
the corresponding single-line macro index term
2002-05-16 05:53:01 +00:00
Debbie Wiles
8a3f67dd2a
Corrected documentation for CMPXCHG
2002-05-16 02:16:58 +00:00
H. Peter Anvin
bede787f76
Use a fontset for the title. Change fonts to use Times throughout.
2002-05-16 02:11:21 +00:00
H. Peter Anvin
7c96f11285
Fix a typo which caused the index to be generated incorrectly.
2002-05-15 21:32:56 +00:00
H. Peter Anvin
cae60c4344
Strip the anchor tags from the table of contents
2002-05-15 21:13:59 +00:00
H. Peter Anvin
13a9b0351e
Use a custom font encoding vector; generate copyright (inner cover) page
2002-05-15 21:00:30 +00:00
H. Peter Anvin
1aef73430e
Make the new PS/PDF backend somewhat configurable
2002-05-15 19:02:52 +00:00
H. Peter Anvin
692f6631a2
One day this will make ps2pdf optmimize the output PDF...
2002-05-15 18:32:41 +00:00
H. Peter Anvin
916c52e376
New PS/PDF backend: first attempt at generating the index
2002-05-15 07:11:21 +00:00
Bryan Ischo
f1f1fa7148
* Slight enhancement to line continuation documentation
...
* Added documentation for the %line preprocessor directive
2002-05-15 01:42:58 +00:00
H. Peter Anvin
86e94b1b33
Remove stealth whitespace (all of the form ". \n").
2002-05-14 22:05:16 +00:00
H. Peter Anvin
4ca9e3c0e4
Work in progress: new PostScript/PDF generator back end
2002-05-14 21:59:59 +00:00
H. Peter Anvin
b99d5553cc
Use a dash for the title metadata
2002-05-14 21:59:37 +00:00
H. Peter Anvin
e77259caf6
Use em dash for the title
2002-05-14 21:28:54 +00:00
H. Peter Anvin
e23f305d2c
Don't remove head.ps by mistake
2002-05-14 21:21:24 +00:00
Debbie Wiles
c7a2652f4a
Updated flags for some 186 instructions in the docs
2002-05-14 18:02:00 +00:00
H. Peter Anvin
fe1bdcb23f
Produce "dip" -- basically digested paragraphs for standalone backends
2002-05-14 06:05:06 +00:00
H. Peter Anvin
f834c7e4a7
Encode metadata in the documentation source, rather than hard-coding it.
2002-05-14 05:56:18 +00:00
H. Peter Anvin
b23d804f4b
Try to be brutally EPSF conformant.
2002-05-14 05:43:47 +00:00
H. Peter Anvin
36d669b25d
Correct userdict -> 1 dict
2002-05-14 05:28:16 +00:00
H. Peter Anvin
cc55646b9c
NASM logo in Embeddable PostScript format
2002-05-14 05:27:27 +00:00
Debbie Wiles
ac6fb42b4b
More tidying up of the overall formatting. Ran through a spell checker.
2002-05-13 19:16:03 +00:00
Debbie Wiles
4590bef7b4
Numerous typos in instruction set fixed
2002-05-12 22:01:08 +00:00
Debbie Wiles
6b50e81a2f
Corrected another typo in the instruction set
2002-05-12 21:03:12 +00:00
Debbie Wiles
6b2ea2eb8d
*** empty log message ***
2002-05-10 20:59:11 +00:00
Debbie Wiles
1c7da40456
*** empty log message ***
2002-05-09 21:23:55 +00:00
H. Peter Anvin
c936bae6f0
Fix the positioning of the page number in the table of contents
2002-05-07 05:50:14 +00:00
H. Peter Anvin
290b514fac
Fix more instance of "NASM environment variable" -> NASMENV
2002-05-06 22:04:10 +00:00
H. Peter Anvin
ff7ccc00d8
Change NASMOPT to NASMENV
2002-05-06 19:41:57 +00:00
H. Peter Anvin
33a514c196
Support generating PDF using ps2pdf with special annotations in the
...
PostScript output of rdsrc.pl.
2002-05-04 14:16:20 +00:00
H. Peter Anvin
d2cfaa5277
Update nasmdoc.src to the current version from debs.
2002-05-04 05:52:42 +00:00
H. Peter Anvin
53ea605b4d
Change the NASM environment variable to NASMOPT.
2002-05-04 04:11:00 +00:00
H. Peter Anvin
8ac364139a
NASM 0.98.30
2002-04-30 21:09:12 +00:00
H. Peter Anvin
005b39c856
NASM 0.98.26
2002-04-30 21:08:42 +00:00
H. Peter Anvin
9a633fa3b9
NASM 0.98.25alt
2002-04-30 21:08:11 +00:00
H. Peter Anvin
9f39464e5b
NASM 0.98.25
2002-04-30 21:07:51 +00:00
H. Peter Anvin
852c3eecb4
NASM 0.98.24
2002-04-30 21:06:59 +00:00
H. Peter Anvin
225c5926f0
NASM 0.98.22
2002-04-30 21:06:16 +00:00
H. Peter Anvin
785ec1d973
NASM 0.98.18
2002-04-30 21:04:43 +00:00
H. Peter Anvin
090a218573
NASM 0.98.17
2002-04-30 21:04:18 +00:00
H. Peter Anvin
4cf1748e68
NASM 0.98.11
2002-04-30 21:01:38 +00:00
H. Peter Anvin
734b188090
NASM 0.98.09
2002-04-30 21:01:08 +00:00
H. Peter Anvin
1cd0e2d5bf
NASM 0.98.08
2002-04-30 21:00:33 +00:00
H. Peter Anvin
41bf8002b2
NASM 0.98
2002-04-30 20:58:18 +00:00
H. Peter Anvin
ef7468f4ec
NASM 0.98p7
2002-04-30 20:57:59 +00:00
H. Peter Anvin
620515ab4e
NASM 0.98p6
2002-04-30 20:57:38 +00:00
H. Peter Anvin
87bc61964c
NASM 0.97
2002-04-30 20:53:16 +00:00
H. Peter Anvin
76690a12ad
NASM 0.96
2002-04-30 20:52:49 +00:00