News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

invalid instruction operand?

Started by xiahan, April 06, 2012, 09:25:04 AM

Previous topic - Next topic

xiahan

LOCAL copy[1024]:BYTE


mov copy,1024


why this is invalid?

bomz

mov dword ptr[copy], 1024
mov word ptr[copy], 1024
mov dword ptr[copy+4], 1024
mov word ptr[copy+2], 1024
mov byte ptr[copy],0
LOCAL      copy[1024]:BYTE

xiahan