hello all. first post and i am a newbie. SPARC architecture using m4 and gcc and i'm trying to define a function that i can call to write text to the screen:
define(print_string, `set $1, %o0
call printf
nop')
then.. in my other program:
*/header*/
include(above_file)
define(sample_text, `test')
.......(blah blah .global etc...)
print_string(sample_text)
this doesn't work for me, so any tips? thanks.
define(print_string, `set $1, %o0
call printf
nop')
then.. in my other program:
*/header*/
include(above_file)
define(sample_text, `test')
.......(blah blah .global etc...)
print_string(sample_text)
this doesn't work for me, so any tips? thanks.