* Assembly mnemonic
@ 2002-05-28 16:25 J.S.Souza
2002-05-28 17:05 ` Rudolf Marek
0 siblings, 1 reply; 2+ messages in thread
From: J.S.Souza @ 2002-05-28 16:25 UTC (permalink / raw)
To: linux-assembly
I was looking at the assembly output from a small C program just to see how
the compiler dealt with a certain procedure and can't figure out what the
mnemonic "cltd" is. Does anyone know what this is? There is NO arguments
for it, it's just by itself on a line.
Cheers,
Jeff Souza
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Assembly mnemonic
2002-05-28 16:25 Assembly mnemonic J.S.Souza
@ 2002-05-28 17:05 ` Rudolf Marek
0 siblings, 0 replies; 2+ messages in thread
From: Rudolf Marek @ 2002-05-28 17:05 UTC (permalink / raw)
To: J.S.Souza; +Cc: linux-assembly
Hello,
google.com found this:
The Intel-syntax conversion instructions
* cbw -- sign-extend byte in %al to word in %ax,
* cwde -- sign-extend word in %ax to long in %eax,
* cwd -- sign-extend word in %ax to long in %dx:%ax,
* cdq -- sign-extend dword in %eax to quad in %edx:%eax,
* cdqe -- sign-extend dword in %eax to quad in %rax (x86-64 only),
* cdo -- sign-extend quad in %rax to octuple in %rdx:%rax (x86-64 only)
are called cbtw, cwtl, cwtd, cltd, cltq, and cqto in AT&T naming. as as
^^^^^
accepts either naming for these instructions.
http://sources.redhat.com/binutils/docs-2.12/as.info/i386-Mnemonics.html
regards
Rudolf
On Tue, 28 May 2002, J.S.Souza wrote:
> Date: Tue, 28 May 2002 09:25:30 -0700
> From: J.S.Souza <jssouza@pacbell.net>
> To: linux-assembly@vger.kernel.org
> Subject: Assembly mnemonic
>
> I was looking at the assembly output from a small C program just to see how
> the compiler dealt with a certain procedure and can't figure out what the
> mnemonic "cltd" is. Does anyone know what this is? There is NO arguments
> for it, it's just by itself on a line.
>
> Cheers,
> Jeff Souza
> -
> To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-28 17:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-28 16:25 Assembly mnemonic J.S.Souza
2002-05-28 17:05 ` Rudolf Marek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).