Operand size conflict in x86 Assembly??

Posted by Mark V. on Stack Overflow See other posts from Stack Overflow or by Mark V.
Published on 2010-04-13T00:45:15Z Indexed on 2010/04/13 0:53 UTC
Read the original article Hit count: 386

Filed under:
|
|

I'm a novice programmer who is attempting assembly for the first time. Sorry in advance if this is an incredibly lame question.

I have a character stored in the EAX register, but I need to move it to my DL register. When I try: mov dl, eax I get an error C2443: operand size conflict. I know that the eax register is 32 bit while the dl is 8 bit... am I on to something?? How do I go about solving this.

© Stack Overflow or respective owner

Related posts about x86

Related posts about assembly