Commit graph

23 commits

Author SHA1 Message Date
Victor van den Elzen
56b820355c FR 2499968: structures with non-zero base offset
Add an optional second argument to struc, document it and test it.
Also removed trailing whitespace in nasmdoc.src in the process.
2009-03-27 03:53:59 +01:00
Victor van den Elzen
fd49408ed9 Already aligned aligns should be 0 bytes, not %1. 2008-10-01 13:21:02 +02:00
H. Peter Anvin
152656f8d3 Actually make non-power-of-2 alignments work
We can't use ($$-$) % (%1) since the wraparound will be wrong except
for powers of 2.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2008-09-25 02:31:50 -07:00
H. Peter Anvin
0303f3b6f7 Err, "alignr" was really the same as the previous "alignb"
Replace "alignb" with the (slightly more optimized) "alignr" macro,
but keep the name "alignb".
2008-07-20 09:40:14 -07:00
H. Peter Anvin
aad26229b7 Add "alignr" standard macro (using resb)
Add an "alignr" standard macro, for use in BSS (nobits) and absolute
segments.
2008-07-20 09:32:31 -07:00
H. Peter Anvin
f9a725aeb7 standard.mac: allow non-power-of-2 alignments
Allow aligning to a non-power-of-2 boundary.  It's probably useless,
but doesn't really hurt.
2008-07-16 14:38:58 -07:00
H. Peter Anvin
0b826ac316 standard.mac: use anonymous contexts
Use anonymous %push instead of giving a context name.
2008-07-02 18:11:49 -07:00
H. Peter Anvin
1d19fbf537 incbin: use the macro name itself as context name
Use the macro name itself as the context name, this is consistent with
other standard macros.
2008-05-30 11:31:35 -07:00
H. Peter Anvin
e2129a7272 Add missing %rotate directive to the FLOAT macro. 2008-05-30 11:06:28 -07:00
H. Peter Anvin
1b4efa816f incbin definition: use %? 2008-05-30 11:04:07 -07:00
H. Peter Anvin
418ca70d4e Introduce %depend and %pathsearch, and make incbin a macro
Introduce new preprocessor directives %depend and %pathsearch, and
make incbin a standard macro using these filenames.  This lets us
remove the code that makes incbin search the path.
2008-05-30 10:42:30 -07:00
H. Peter Anvin
9563910747 Comma-separate contents of __FLOAT__ 2007-10-16 14:42:32 -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
4fd320ef82 Add standard macro for [default] directive 2007-08-29 16:40:26 +00:00
Keith Kanios
b7a89544d0 General push for x86-64 support, dubbed 0.99.00. 2007-04-12 02:40:54 +00:00
H. Peter Anvin
e87613b14e Make all version information come from the single file "version".
Introduce new standard __NASM_SUBMINOR__ and __NASM_VER__ macros.
2002-05-04 03:57:52 +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
af535c16cf NASM 0.98.03 2002-04-30 20:59:21 +00:00
H. Peter Anvin
ce14ce6fc4 NASM 0.98p3.2 2002-04-30 20:54:58 +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
H. Peter Anvin
6768eb71d8 NASM 0.95 2002-04-30 20:52:26 +00:00