Greetings,
I am currently trying to convert code from a old compiler to a new one. Specifically from a microtec compiler to GNU Gcc/G++.
I am having a hard time getting the gnu compiler to understand the inline assembly code.
I do believe the asm option should be enabled without any options.
For example:
Code:
#pragma asm
//=============================================================================
*Subroutine BOARD_START
//=============================================================================
SECTION uservars_s,,D
XDEF _g_cRamVerification1
_g_cRamVerification1: ds.l 64;
SECTION uservars_e,,D
XDEF _g_cRamVerification2
_g_cRamVerification2: ds.l 64;
* Initialisation of the processor hardware
SECTION code,,C Program section, ,Typ=CODE
XREF END_BOARD_START,ENTRY
XDEF BOARD_START,_abort,_vec_tab
_vec_tab equ .STARTOF.(vec_ram)
BOARD_START:
* Initialisation of Status register
#pragma endasm
The compiler does not want to recognize tags or the '*' comments.
Can anyone tell me what I am doing wrong.??
Thanks for your time.
-J