summaryrefslogtreecommitdiff
path: root/standard.mac
AgeCommit message (Collapse)AuthorFilesLines
2013-12-04bnd: Add a new nobnd prefixJin Kyu Song1-0/+13
bnd and nobnd prifixes can be used for each instruction line to direct whether bnd registers should be preserved or not. And those are also added as options for DEFAULT directive. Once bnd is set with default, DEFAULT BND, all bnd-prefix available instructions are prefixed with bnd. To override it, nobnd prefix can be used. In the other way, DEFAULT NOBND can disable DEFAULT BND and have nasm encode in the normal way. Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
2010-08-12sectalign: Implement on/off modeCyrill Gorcunov1-1/+12
And describe it in documentation. We've introduced sectalign in 2.09rc series and have to provide an ability to steer this feature. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-08-12standart.mac: Style nitfixCyrill Gorcunov1-75/+84
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-04-21standard.mac: Update section alignment on align callCyrill Gorcunov1-0/+2
Achieved via sectalign call. Note that not all output targets (ie formats) may handle sectalign yet, most of them just ignore this entity. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-04-21Rename SEGALIGN to SECTALIGNCyrill Gorcunov1-3/+2
"sectalign" is preferred over "segalign" since it operates over section attributes. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2010-04-21Introduce SEGALIGN directiveCyrill Gorcunov1-0/+4
No real handling yet though. Definition only. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2009-07-06NASM: relicense under the 2-clause BSD licenseH. Peter Anvin1-12/+0
*To the best of my knowledge*, we now have authorization from everyone who has significantly contributed to NASM in the past. As such, change the license to the 2-clause BSD license. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-06-28Add copyright headers to macro filesH. Peter Anvin1-0/+45
These are definitely overly restrictive, need auditing to pare them down to proper BSD licensing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-03-27FR 2499968: structures with non-zero base offsetVictor van den Elzen1-5/+5
Add an optional second argument to struc, document it and test it. Also removed trailing whitespace in nasmdoc.src in the process.
2008-10-01Already aligned aligns should be 0 bytes, not %1.Victor van den Elzen1-3/+3
2008-09-25Actually make non-power-of-2 alignments workH. Peter Anvin1-3/+3
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-07-20Err, "alignr" was really the same as the previous "alignb"H. Peter Anvin1-4/+1
Replace "alignb" with the (slightly more optimized) "alignr" macro, but keep the name "alignb".
2008-07-20Add "alignr" standard macro (using resb)H. Peter Anvin1-0/+7
Add an "alignr" standard macro, for use in BSS (nobits) and absolute segments.
2008-07-16standard.mac: allow non-power-of-2 alignmentsH. Peter Anvin1-2/+2
Allow aligning to a non-power-of-2 boundary. It's probably useless, but doesn't really hurt.
2008-07-02standard.mac: use anonymous contextsH. Peter Anvin1-3/+3
Use anonymous %push instead of giving a context name.
2008-05-30incbin: use the macro name itself as context nameH. Peter Anvin1-1/+1
Use the macro name itself as the context name, this is consistent with other standard macros.
2008-05-30Add missing %rotate directive to the FLOAT macro.H. Peter Anvin1-0/+1
2008-05-30incbin definition: use %?H. Peter Anvin1-1/+1
2008-05-30Introduce %depend and %pathsearch, and make incbin a macroH. Peter Anvin1-0/+8
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.
2007-10-16Comma-separate contents of __FLOAT__H. Peter Anvin1-1/+1
2007-10-16Implement floating-point option control directiveH. Peter Anvin1-0/+27
New directive [FLOAT] with associated standard macros; allows the setting to be saved and restored.
2007-08-29Add standard macro for [default] directiveH. Peter Anvin1-1/+3
2007-04-12General push for x86-64 support, dubbed 0.99.00.Keith Kanios1-1/+5
2002-05-04Make all version information come from the single file "version".H. Peter Anvin1-4/+4
Introduce new standard __NASM_SUBMINOR__ and __NASM_VER__ macros.
2002-04-30NASM 0.98.09H. Peter Anvin1-10/+12
2002-04-30NASM 0.98.08H. Peter Anvin1-0/+10
2002-04-30NASM 0.98.03H. Peter Anvin1-0/+12
2002-04-30NASM 0.98p3.2H. Peter Anvin1-2/+2
2002-04-30NASM 0.97H. Peter Anvin1-2/+2
2002-04-30NASM 0.96H. Peter Anvin1-21/+30
2002-04-30NASM 0.95H. Peter Anvin1-0/+77