Text only
|
Text with Images
The MASM Forum Archive 2004 to 2012
General Forums => The Campus => Topic started by: xiahan on April 06, 2012, 09:25:04 AM
Title:
invalid instruction operand?
Post by:
xiahan
on
April 06, 2012, 09:25:04 AM
Code
Select
Expand
LOCAL copy[1024]:BYTE
Code
Select
Expand
mov copy,1024
why this is invalid?
Title:
Re: invalid instruction operand?
Post by:
bomz
on
April 06, 2012, 09:27:57 AM
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
Title:
Re: invalid instruction operand?
Post by:
xiahan
on
April 06, 2012, 09:39:37 AM
aHa,it works! :U
Text only
|
Text with Images