No description
Find a file
Mark Scott db6ecf9b76 disasm: Fix for disassembly of BOUND
The opcode for BOUND, 62h, has a different meaning in long mode - it is the
prefix for EVEX instructions. ndisasm did not take this into account and always
tried to disassemble 62h back to an EVEX instruction.

Attached patch only permits EVEX disassembly if bitness is 64.
In 16/32 bit mode 62h will be not be a prefix and so disassemble
to BOUND.

Signed-off-by: Mark Scott <nasm@mscott.cx>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2015-11-03 23:09:05 +03:00
contrib contrib/MSVC6.txt: Add guide how to use nasm in MSVC6 2010-01-24 23:17:55 +03:00
doc doc: Update changes list 2015-07-26 14:42:30 +03:00
headers headers: Update year 2010-04-25 12:02:38 +04:00
inttypes Add _MIN and _MAX macros for the fixed-size types. 2007-08-20 20:09:11 +00:00
lib BR2979629: vsnprintf: Use nasm_malloc 2010-04-01 01:17:00 +04:00
macros eval: add general support for "integer functions" and add ilog2*() 2012-05-31 10:25:37 -07:00
misc debug: Drop LOGALLOC usage 2014-05-09 22:22:34 +04:00
Mkfiles Run "make alldeps" to add missing header file dependencies 2014-11-25 12:14:52 -08:00
nsis New NSIS script 2009-09-14 23:17:03 +04:00
output out: elf,stabs -- Fix @n_value attribute for HdrSym entry 2015-11-03 01:14:14 +03:00
perllib phash.sh: Use int() for the size of the hash table 2012-03-26 09:25:10 -07:00
rdoff rdoff/ldrdf.c: Add option to specify target RDF module name in command line 2015-01-20 23:38:52 +02:00
test Merge branch 'nasm-2.11.xx' 2014-05-21 08:30:40 -07:00
.gitignore iflag: Fix dependencies, factor out static components of iflag.h 2013-11-24 11:13:10 -08:00
aclocal.m4 Fix autoconf 2.68 warning. 2010-11-07 17:31:27 +01:00
assemble.c Sync to public Intel EAS version 021. 2014-10-16 16:31:31 -07:00
assemble.h iflag: Start using new instruction flags engine 2013-11-24 13:20:59 +04:00
AUTHORS Correct name spelling and email address 2015-01-18 20:21:14 +02:00
autogen.sh autogen.sh: remove config.status 2008-04-10 14:54:02 -07:00
ChangeLog Documention Changes for Release 2.00 2007-11-25 14:25:13 -08:00
CHANGES Move the revision history into the documentation 2008-07-14 02:45:57 -04:00
compiler.h compiler: Fix typo for HAVE__VSNPRINTF 2014-11-26 10:44:19 +03:00
configure.in configure.in: Move AC_C_INLINE and friends to be checked before PA_ADD_CFLAGS 2014-12-20 11:35:51 +03:00
crc64.c Add missing header file in crc64.c 2014-11-25 12:14:52 -08:00
directiv.dat Rename filenames to 8.3 format 2010-06-15 10:47:16 -07:00
directiv.pl make: Fix nasm build with MSVC 2013-06-30 01:31:15 +04:00
disasm.c disasm: Fix for disassembly of BOUND 2015-11-03 23:09:05 +03:00
disasm.h iflag: Start using new instruction flags engine 2013-11-24 13:20:59 +04:00
disp8.c disp8: Consolidate a logic to get compressed displacement 2013-11-20 15:40:55 -08:00
disp8.h disp8: Consolidate a logic to get compressed displacement 2013-11-20 15:40:55 -08:00
eval.c mib: Handle MIB EA in a different way from regular EA's 2013-12-11 16:56:19 -08:00
eval.h NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
exprlib.c NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
float.c style cleanup 2009-10-13 19:41:37 +04:00
float.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
hashtbl.c hash_init: check for size being power of two 2009-11-06 22:00:37 +03:00
hashtbl.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
iflag.h iflag: Don't use c99 array initialization 2013-12-10 11:10:19 +04:00
ilog2.c ilog2: optimize use of bsr for x86-64 2010-04-22 11:02:56 -07:00
insns-iflags.pl Sync to public Intel EAS version 021. 2014-10-16 16:31:31 -07:00
insns.dat insns.dat: Add SMSW for 64 bit mode 2015-09-13 16:30:21 +03:00
insns.h iflag: Start using new instruction flags engine 2013-11-24 13:20:59 +04:00
insns.pl insns: Move 'np' mnemonic into @plain_codes 2014-08-25 20:04:30 +04:00
INSTALL Update the INSTALL file to match current reality 2008-06-28 18:53:55 -07:00
install-sh NASM 0.98.30 2002-04-30 21:09:12 +00:00
labels.c Add missing header file in labels.c 2014-11-25 12:14:52 -08:00
labels.h labels.c: cleanup 2010-07-28 18:00:18 +04:00
LICENSE LICENSE: update year 2010-08-12 20:15:27 -07:00
listing.c listing: handle negative (signed) address size values 2013-11-26 18:22:45 -08:00
listing.h NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
macros.pl macros.pl: expand file wildcards in arguments 2015-07-01 11:35:39 -07:00
Makefile.in Run "make alldeps" to add missing header file dependencies 2014-11-25 12:14:52 -08:00
mkdep.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
nasm.c Change posix_mktime() to make_posix_time() 2015-01-05 15:17:56 -08:00
nasm.h Sync to public Intel EAS version 021. 2014-10-16 16:31:31 -07:00
nasm.nsi nsis: Remove desktop bat link as well 2011-07-15 23:13:26 +04:00
nasm.spec.in nasm.spec.in: switch to .xz as the source file 2012-02-26 08:19:56 -08:00
nasm.txt BR3392248: Update nasm manual 2013-04-20 20:24:01 +04:00
nasmlib.c nasmlib: Fix typo in fwriteint32_t() 2014-11-25 09:44:00 -08:00
nasmlib.h nasmlib: Plcate undefined behaviour in signed_bits 2015-10-11 18:06:30 +03:00
ndisasm.c debug: Drop LOGALLOC usage 2014-05-09 22:22:34 +04:00
ndisasm.txt ndisasm: man -- Add missing -p option 2013-04-20 20:18:46 +04:00
opflags.h Remove "high 16" register class macros for xmm/ymm/zmm 2013-11-28 11:35:34 -08:00
parser.c parser: Check for eval error before memory reference parsing 2014-11-22 18:20:29 +03:00
parser.h Drop efunc and evaluate argument to parse_line() 2009-07-18 18:49:55 -07:00
phash.pl Fix Perl deprecation warnings. 2010-11-07 17:20:23 +01:00
pptok.dat preproc: Revert to the NASM 2.09 preprocessor 2012-03-03 16:23:19 -08:00
pptok.pl make: Fix nasm build with MSVC 2013-06-30 01:31:15 +04:00
preproc-nop.c preproc: Move NOP preprocessor into separate file 2012-05-07 11:34:27 +04:00
preproc.c preproc: Warn if someone predefines non ID as definition 2015-02-08 11:07:17 +03:00
preproc.h preproc: Split get rid of global preproc methods 2012-05-07 01:57:55 +04:00
quote.c quote: Fix returning out of string pointer, take 2 2014-12-20 15:07:39 +03:00
quote.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
raa.c Remove function pointers in output, simplify error handling 2009-07-18 18:43:12 -07:00
raa.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
rbtree.c Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
rbtree.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
README README: add note to see the AUTHORS file 2010-01-06 20:56:11 -08:00
regs.dat Remove "high 16" register class macros for xmm/ymm/zmm 2013-11-28 11:35:34 -08:00
regs.pl AVX-512: Add support for parsing braces 2013-08-06 09:37:52 +04:00
saa.c Replace unchecked fwrite() calls 2014-10-21 12:50:47 -07:00
saa.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
standard.mac bnd: Add a new nobnd prefix 2013-12-04 20:10:08 -08:00
stdscan.c stdscan: Rework curly brace parsing routines 2013-11-27 15:43:33 -08:00
stdscan.h stdscan: switch to stdscan_get/set routines 2009-10-31 20:02:43 +03:00
strfunc.c strfunc: Tabs to spaces conversion 2013-09-21 13:14:15 +04:00
SubmittingPatches Add SubmittingPatches file 2010-10-03 21:02:08 +04:00
sync.c sync.c: Get sync points limit back 2009-12-22 23:42:03 +03:00
sync.h Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
syncfiles.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00
tables.h AVX-512: Fix instruction match function 2013-08-22 19:37:37 +04:00
TODO General push for x86-64 support, dubbed 0.99.00. 2007-04-12 02:40:54 +00:00
tokens.dat Sync to public Intel EAS version 021. 2014-10-16 16:31:31 -07:00
tokhash.pl Add missing prototype in tokhash.c (from tokhash.pl) 2014-11-25 12:14:52 -08:00
ver.c Add copyright headers to the *.c/*.h files in the main directory 2009-06-28 17:13:04 -07:00
version NASM 2.11.09rc1 2015-07-25 00:39:42 +03:00
version.pl Add copyright verbiage to Perl scripts; update LICENSE 2009-06-28 16:54:44 -07:00

              NASM, the Netwide Assembler.

Many many developers all over the net respect NASM for what it is
- a widespread (thus netwide), portable (thus netwide!), very
flexible and mature assembler tool with support for many output
formats (thus netwide!!).

Now we have good news for you: NASM is licensed under the "simplified"
(2-clause) BSD license.  This means its development is open to even
wider society of programmers wishing to improve their lovely
assembler.

The NASM project is now situated at SourceForge.net, the most
popular Open Source development site on the Internet.

Visit our website at http://nasm.sourceforge.net/ and our
SourceForge project at http://sourceforge.net/projects/nasm/

See the file CHANGES for the description of changes between revisions,
and the file AUTHORS for a list of contributors.

                                                   With best regards,
                                                           NASM crew.