movw ?

movw ?

Post by wang ge » Tue, 03 Jul 2001 16:19:40



there "movw $ BOOTSEG %ax" in the bootsect.s.
i have found "MOV,MOVD,MOVQ,MOVS..." in the INTEL manual(Vol ume 2 :
Instruction Set Reference).
but i counld not find "movw".
why?
 
 
 

movw ?

Post by Bohdan Vlasyu » Tue, 03 Jul 2001 17:06:09



> there "movw $ BOOTSEG %ax" in the bootsect.s.  i have found
> "MOV,MOVD,MOVQ,MOVS..." in the INTEL manual(Vol ume 2 : Instruction
> Set Reference).  
> but i counld not find "movw".  

That's perhaps has somehting to do with AT&T asm syntax -- w here
means word (2 bytes -- you can also notice that dest. is %ax )

Quote:> why?

--