diff options
author | Jin Kyu Song <jin.kyu.song@intel.com> | 2013-12-04 20:05:55 -0800 |
---|---|---|
committer | Jin Kyu Song <jin.kyu.song@intel.com> | 2013-12-04 20:10:08 -0800 |
commit | b287ff0ddbfb997663ca9432ca3456e3d15ae9ed (patch) | |
tree | 2b5e8c2f5830eedc53b61458137a1f69a296bb0f /standard.mac | |
parent | bb8cf3fa77e63f7c6a02d23bbfe3426beff26358 (diff) | |
download | nasm-b287ff0ddbfb997663ca9432ca3456e3d15ae9ed.tar.gz nasm-b287ff0ddbfb997663ca9432ca3456e3d15ae9ed.tar.bz2 nasm-b287ff0ddbfb997663ca9432ca3456e3d15ae9ed.zip |
bnd: Add a new nobnd prefix
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>
Diffstat (limited to 'standard.mac')
-rw-r--r-- | standard.mac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/standard.mac b/standard.mac index b2dff8d..60c0387 100644 --- a/standard.mac +++ b/standard.mac @@ -205,6 +205,19 @@ [default %1] %endmacro +%imacro userel 0.nolist + [default rel] +%endmacro +%imacro useabs 0.nolist + [default abs] +%endmacro +%imacro usebnd 0.nolist + [default bnd] +%endmacro +%imacro usenobnd 0.nolist + [default nobnd] +%endmacro + %imacro incbin 1-2+.nolist 0 %push %pathsearch %$dep %1 |