[EMAIL PROTECTED] wrote:
And just ignore the spurrious 'ret' instructions imcc generates to
"properly"
terminate each of the "subroutines" (
These "ret" ins are remnants from the ret => .end change - they will go
away.
leo
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject:Re: Tiny imcc example doesn't work
--- [EMAIL PROTECTED] wrote:
> I thought that something like what follows:
>
> goto _foo
> end
> _foo:
> print "Howdy!\n"
&
[EMAIL PROTECTED] wrote:
All --
I thought that something like what follows:
goto _foo
end
_foo:
print "Howdy!\n"
end
Works fine *if* you insert your example into ".sub" ... ".end":
..sub _test
goto _foo
end
_foo:
print "ok 1\n"
end
..end
Regards,
-- Gregor
leo
--- "Mr. Nobody" <[EMAIL PROTECTED]> wrote:
> ..sub main
> ..end
Except without those extra dots. Stupid mailer.
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- [EMAIL PROTECTED] wrote:
> I thought that something like what follows:
>
> goto _foo
> end
> _foo:
> print "Howdy!\n"
> end
>
> would be legal imcc input
IMCC requires you to put everything in .subs. So it should be something like
..sub main
goto _foo
end
_foo:
print "H
All --
I thought that something like what follows:
goto _foo
end
_foo:
print "Howdy!\n"
end
would be legal imcc input, but I get:
last token = [(null)]
(error) line 1: parse error
Didn't create output asm.
instead of happiness. I'm trying to learn enough IMCC th