I tried __asm directive, but it does check the strings for valid instructions.
Damn it Mulder you're making no sense with your incoherent rambling..
What exactly are you trying to do, something like puts("Krycek"); ??
The parameter is a pointer, passed in R0
Hard to know a) what it is you need, b) what you have tried. The latter might shed light on what part of your logic is flawed.
What processor?
Hi, Scully, I am investigating the_x_file.s output. So I need some marks, the processor is "CORTEX_M3".
pseudo C code:
__asm ("the_x_file_begins:"); investigation_precedures(); __asm ("the_x_file_closes:");
Expected ASM code:
the_x_file_begins: BL investigation_precedures the_x_file_closes:
The ARM compiler is basically a mini-assembler. It wants to understand the assembler instructions because it will merge the assembler instructions into the parse tree and perform optimizations before generating the final code.
OK. Is there any regular method to do this?
Presumably this loses the naming you want
foo: investigation_ procedures(); bar: