! as -o mulscc.o mulscc.s ; ld -o mulscc mulscc.o .equ SYSCALL_EXIT,1 .globl _start _start: wr %g0, %o3, %y sra %o5, 0x1f, %g2 and %o3, %g2, %g2 andcc %g1, 0, %g1 mulscc %g1, %o5, %g1 mulscc %g1, %o5, %g1 mulscc %g1, %o5, %g1 mulscc %g1, %o5, %g1 !================================ ! Exit !================================ exit: mov 0,%o0 ! exit value mov SYSCALL_EXIT,%g1 ! put the exit syscall number in g1 ta 0x10 ! and exit