bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GAS] x86_64 gas doesn't recognize movzx r64, r/m32 (intel notaion)


From: Alan Modra
Subject: Re: [GAS] x86_64 gas doesn't recognize movzx r64, r/m32 (intel notaion)
Date: Tue, 29 May 2007 14:32:34 +0930
User-agent: Mutt/1.5.9i

On Mon, May 28, 2007 at 04:58:35PM +0300, Sergei Trofimovich wrote:
>         .intel_syntax noprefix
> 
>         .text
>         .globl main
>                 .type main, @function
>         main:
>                 movzx rax, eax
>                 movzx rax, dword ptr [eip]
> compiling...$ cc    -c -o main.o main.S
> 
> main.S: Assembler messages:
> main.S:7: Error: suffix or operands invalid for `movzx'
> main.S:8: Error: suffix or operands invalid for `movzx'
> 
> Is it known bug/feature?

movzx only zero extends 8-bit and 16-bit registers/memory.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre




reply via email to

[Prev in Thread] Current Thread [Next in Thread]