hi everybody :)
i've just bought a sun box on ebay, installed gnu/linux on it and am now trying to write a short assembler program. this seems to be very different from assembler on my tried and trusted pentium III.
anyway, i found a few guides on the net and tried stuff out, but whatever i do, the loader starts complaining about main being defined twice and other stuff :(
so the question is, can someone post a really short assembler program for sparc under linux so i can see how the structure is with instructions on how to assemble and link it?
(for example, what would
movl $2, %ebx
movl $1, %eax
on a sparc or ultrasparc be?)
ta muchly :)