Hello, this is my first post. I am new in all this assembler development and after reading a lot searching all over internet I have an issue with a DLL I am building I hope you could help me to sort out.
The dll have this procedure:
align 4
procesarComando proc Cadena:DWORD
.data
align 4
procComTbl \
dd 10,11,12,13,14,15,16,17,18,19,110,111,112,113
.code
invoke getComandoNum,Cadena
cmp eax, 13
ja error
jmp DWORD PTR [procComTbl+eax*4]
align 4
error:
mov eax, -1
jmp quit_procesarComando
align 4
10:
invoke putRespuestaBase,Cadena
invoke putRespuestaComando1, Cadena
jmp quit_procesarComando
align 4
11: ;verificar
mov eax, 1
jmp quit_procesarComando
...
align 4
113:
mov eax, 13
jmp quit_procesarComando
align 4
quit_procesarComando:
Ret
procesarComando endp
When I try to compile this I receive this error in each of the labels (10: 11: 12: ... 113:): error A2008: syntax error : integer
I am completely lost as it is supposed that this code should compile with MASM6 and MASM32. I tried with both compilers with no luck. Do you have any recommendation about what could be wrong or how could be fixed in this procedure. I though that perhaps I should change the numeric labels but it looks like if I do that the procedure will not work.
Thank you all in advance