NASM 0.94
[nasm.git] / Changes
blob8d1997b87d598ba088af9d4d4ff06adb7e545835
1 Change log for NASM
2 ===================
4 0.90 released October 1996
5 --------------------------
7 First release version. First support for object file output. Other
8 changes from previous version (0.3x) too numerous to document.
10 0.91 released November 1996
11 ---------------------------
13 Loads of bug fixes.
14 Support for RDF added.
15 Support for DBG debugging format added.
16 Support for 32-bit extensions to Microsoft OBJ format added.
17 Revised for Borland C: some variable names changed, makefile added.
18 LCC support revised to actually work.
19 JMP/CALL NEAR/FAR notation added.
20 `a16', `o16', `a32' and `o32' prefixes added.
21 Range checking on short jumps implemented.
22 MMX instruction support added.
23 Negative floating point constant support added.
24 Memory handling improved to bypass 64K barrier under DOS.
25 $ prefix to force treatment of reserved words as identifiers added.
26 Default-size mechanism for object formats added.
27 Compile-time configurability added.
28 `#', `@', `~' and `?' are now valid characters in labels.
29 `-e' and `-k' options in NDISASM added.
31 0.92 released January 1997
32 --------------------------
34 The FDIVP/FDIVRP and FSUBP/FSUBRP pairs had been inverted: this was
35 fixed. This also affected the LCC driver.
37 Fixed a bug regarding 32-bit effective addresses of the form
38 [other_register+ESP].
40 Documentary changes, notably documentation of the fact that Borland
41 Win32 compilers use `obj' rather than `win32' object format.
43 Fixed the COMENT record in OBJ files, which was formatted
44 incorrectly.
46 Fixed a bug causing segfaults in large RDF files.
48 OBJ format now strips initial periods from segment and group
49 definitions, in order to avoid complications with the local label
50 syntax.
52 Fixed a bug in disassembling far calls and jumps in NDISASM.
54 Added support for user-defined sections in COFF and ELF files.
56 Compiled the DOS binaries with a sensible amount of stack, to
57 prevent stack overflows on any arithmetic expression containing
58 parentheses.
60 Fixed a bug in handling of files that do not terminate in a newline.
62 0.93 released January 1997
63 --------------------------
65 This release went out in a great hurry after semi-crippling bugs
66 were found in 0.92.
68 Really _did_ fix the stack overflows this time. *blush*
70 Had problems with EA instruction sizes changing between passes, when
71 an offset contained a forward reference and so 4 bytes were
72 allocated for the offset in pass one; by pass two the symbol had
73 been defined and happened to be a small absolute value, so only 1
74 byte got allocated, causing instruction size mismatch between passes
75 and hence incorrect address calculations. Fixed.
77 Stupid bug in the revised ELF section generation fixed (associated
78 string-table section for .symtab was hard-coded as 7, even when this
79 didn't fit with the real section table). Was causing `ld' to
80 seg-fault under Linux.
82 Included a new Borland C makefile, Makefile.bc2, donated by Fox
83 Cutter <lmb@comtch.iea.com>.
85 0.94 not released yet
86 ---------------------
88 Major item: added the macro processor.
90 Added undocumented instructions SMI, IBTS, XBTS and LOADALL286. Also
91 reorganised CMPXCHG instruction into early-486 and Pentium forms.
92 Thanks to Thobias Jones for the information.
94 Fixed two more stupid bugs in ELF, which were causing `ld' to
95 continue to seg-fault in a lot of non-trivial cases.
97 Fixed a seg-fault in the label manager.
99 Stopped FBLD and FBSTP from _requiring_ the TWORD keyword, which is
100 the only option for BCD loads/stores in any case.
102 Ensured FLDCW, FSTCW and FSTSW can cope with the WORD keyword, if
103 anyone bothers to provide it. Previously they complained unless no
104 keyword at all was present.
106 Some forms of FDIV/FDIVR and FSUB/FSUBR were still inverted: a
107 vestige of a bug that I thought had been fixed in 0.92. This was
108 fixed, hopefully for good this time...
110 Another minor phase error (insofar as a phase error can _ever_ be
111 minor) fixed, this one occurring in code of the form
112    rol ax,forward_reference
113    forward_reference equ 1
115 The number supplied to TIMES is now sanity-checked for positivity,
116 and also may be greater than 64K (which previously didn't work on
117 16-bit systems).
119 Added Watcom C makefiles, and misc/pmw.bat, donated by Dominik Behr.
121 Added the INCBIN pseudo-opcode.
123 Due to the advent of the preprocessor, the [INCLUDE] and [INC]
124 directives have become obsolete. They are still supported in this
125 version, with a warning, but won't be in the next.
127 Updates to RDOFF subdirectory, and changes to outrdf.c.