Hi Charles,
there might be more, but you haven't allocated a stack frame for the
(system) call
I did think that was the case earlier, so I tried:
TEXT _main+0(SB), 1, $32
(And also with values ranging from $4 to $32 in increments of $4 just
for the heck of it). But it doesn't seem to make any difference in the
suicide, apart from the changed value of pc.
The error is most likely because of the line (that's the only 7 around
there):
MOVL $7, 8(SP)
But it doesn't complain about:
MOVL $1, (SP)
so I wonder...
--
Anant