I am trying to run a sample Sparc assembly language , but I am not even sure where to start. I tried vim macro
or m4 example.m
but I dont know where and how to compile it. I searched the internet, read articles, but none of them mentioned how to start coding.
for example, I would like to type this assembly language :
.global main
main: save %sp, -96, %sp
mov PROMPT, %o0
call writeChar
nop
call readInt
what commend should I use to compile and run ? (using Linux)