diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-03-18 23:10:19 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-03-18 23:10:19 -0700 |
commit | ed37aa8070cabf80de269508cbf022bc2b464d26 (patch) | |
tree | 73394bc04a59da69e9dac998c02fac2520675c40 /disasm.h | |
parent | d1174fb1a68a73b17010adb312f9329b4ce411eb (diff) | |
download | nasm-ed37aa8070cabf80de269508cbf022bc2b464d26.tar.gz nasm-ed37aa8070cabf80de269508cbf022bc2b464d26.tar.bz2 nasm-ed37aa8070cabf80de269508cbf022bc2b464d26.zip |
disasm: when no instruction is found, consider a naked prefix
If we can't find a matching instruction, rather than printing it as a
"db" literal, consider first if we can disassemble it as a naked prefix.
Diffstat (limited to 'disasm.h')
-rw-r--r-- | disasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,6 +13,6 @@ int32_t disasm(uint8_t *data, char *output, int outbufsize, int segsize, int32_t offset, int autosync, uint32_t prefer); -int32_t eatbyte(uint8_t *data, char *output, int outbufsize); +int32_t eatbyte(uint8_t *data, char *output, int outbufsize, int segsize); #endif |