diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-04-17 20:23:11 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-04-17 20:23:11 +0000 |
commit | 0db11e236b7820f8ec6c2fd1846b17099e4f9386 (patch) | |
tree | 99ae4d866c3a816b77bb958cef473a76d4bab494 /nasmlib.h | |
parent | fd626d6770e5dc10b754d6029949ab15ba1e6504 (diff) | |
download | nasm-0db11e236b7820f8ec6c2fd1846b17099e4f9386.tar.gz nasm-0db11e236b7820f8ec6c2fd1846b17099e4f9386.tar.bz2 nasm-0db11e236b7820f8ec6c2fd1846b17099e4f9386.zip |
Handle "LOCK as REX.R" for MOV CRx; fix warning for invalid 64-bit regs
- MOV gpr,CRx or MOV CRx,gpr can access high control registers with a LOCK
prefix; handle that in both the assembler and disassembler.
- Get a saner error message when trying to access high resources in
non-64-bit mode.
Diffstat (limited to 'nasmlib.h')
-rw-r--r-- | nasmlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -271,4 +271,6 @@ void null_debug_routine(const char *directive, const char *params); extern struct dfmt null_debug_form; extern struct dfmt *null_debug_arr[2]; +const char *prefix_name(int); + #endif |