www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/19/03:37:17

From: "Bryan Russell" <BRYAN-R AT mis DOT scitec DOT com DOT au>
Organization: SCITEC LIMITED
To: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU
Date: Thu, 19 Jan 1995 11:11:29 +1100
Subject: MOVZX instruction

I'm trying to do some inline asm using the MOVZX instruction like so :
	.
	.	
	movzx %%cx,%%ecx
	.
	.

but AS complains that there is no such 386 instruction as 'movzx'. My trusty
MASM instruction reference tells me that this is a 386 only instruction for
moving a 8 bit reg to a 16 bit reg or a 16 bit reg to a 32 bit reg. I know
this reference will be in intel syntax but I didn't see any notes regarding
movzx in INFO. I have also tried suffixing 'b','w' etc to the instruction but
this doesn't seem to help.   

Anyone got any ideas?

Thanks



Bryan Russell                      Net : bryan-r AT mis DOT scitec DOT com DOT au
Technical Support Specialist     Phone : +61 2 428 9570    _--_|\
Scitec Communication Systems       Fax : +61 2 428 9988   /      \
3 Apollo Place, Lane Cove, NSW 2066                       \_.--._*
AUSTRALIA                                                       v

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019