mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
7f688841ce
AMD documents this instruction with an rax operand. The error behavior implies this is an address-size-sensitive instruction. Add support for specifying the explicit operand, but consistent with normal ndisasm behavior, don't disassemble the implicit operand. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
27 lines
221 B
NASM
27 lines
221 B
NASM
bits 16
|
|
|
|
clzero
|
|
clzero ax
|
|
clzero eax
|
|
%ifdef ERROR
|
|
clzero rax
|
|
%endif
|
|
|
|
bits 32
|
|
|
|
clzero
|
|
clzero ax
|
|
clzero eax
|
|
%ifdef ERROR
|
|
clzero rax
|
|
%endif
|
|
|
|
bits 64
|
|
|
|
clzero
|
|
%ifdef ERROR
|
|
clzero ax
|
|
%endif
|
|
clzero eax
|
|
clzero rax
|