The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: ictsecurity0 on September 18, 2010, 05:31:41 AM

Title: Port TASM32 to MASM32
Post by: ictsecurity0 on September 18, 2010, 05:31:41 AM
dear all,

i have the problems when port the program from tasm32 to masm32.  i compile without error in tasm32 for the following:
   

   instr_buf: db   50 dup (?)

   for me to call instr_buf in other asm file, when i port to masm32, i got the error:
   EMUL.INC(23): error A2108: use of register assumed to ERROR
   EMUL.INC(23): error A2008: syntax error : db

would appreciate if anyone can help, thanks
Title: Re: Port TASM32 to MASM32
Post by: hutch-- on September 18, 2010, 05:59:52 AM
I confess to being rusty with TASM but try this in the initialised data section. Note that I removed the label notation, in MASM its the NAME that is the label.


.data
    instr_buf db 50 dup (?)