News:

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

Port TASM32 to MASM32

Started by ictsecurity0, September 18, 2010, 05:31:41 AM

Previous topic - Next topic

ictsecurity0

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

hutch--

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 (?)
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php