let me first give a little background of what i am trying to acheive before ithrow my query.
i wrote a small helloworld.cpp file in microsoft visual studio.netand then compiled this file to get a helloworld.asm file.
However i found that the microsoft visual studio.net ignores the .asm file and compiles and runs only .cpp file.
for microsft Visual studio to consider my .asm file, i right clicked on the .asm file and in the properties>custom build setup>
I entered the following
Command line: c:masm32inml /c /Cx /coff .Debughelloworld.asm
Outputs : $(InputName).obj
Now when i click on the build icon, the compiler gives a syntax error in the .asm file.
.DebugHelloworld.asm(55) : error A2008: syntax error : .
.DebugHelloworld.asm(59) : error A2008: syntax error : .
Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step"
The code on line 55 and 59 is a as follows
__RTC_InitBase.rtc$IMZ DD FLAT:__RTC_InitBase
__RTC_Shutdown.rtc$TMZ DD FLAT:__RTC_Shutdown
Can anyone help me understand what this error is and how i can get rid of it.
Thanks in advance