[Gambas-user] First nuclear trial!
PICCORO McKAY Lenz
mckaygerhard at gmail.com
Sat May 26 16:32:26 CEST 2018
HOLY SH**T amazing!
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
2018-05-26 9:33 GMT-04:00 Benoît Minisini <g4mba5 at gmail.com>:
> ...and I won't stop because of a tweet.
>
> Here is the generated code for the curious:
>
> // Main
>
> void mmain_2(uchar n)
> {
> mmain_2_IMPL();
> }
>
> static void mmain_2_IMPL()
> {
> int l0 = 0;
> int l1 = 0;
> int l2 = 0;
> int l3 = 0;
>
> JIT.hello();
> l1 = 1;
> l2 = 2;
> static ushort s0 = 0x7C05;
>
> (PUSH_i(1),PUSH_i(l1),PUSH_t(GET_CHAR(32)),PUSH_i(l2),PUSH_t
> (GET_CHAR(32)),CALL_SUBR_CODE(s0));
> __L14:;
> bool t;
> t = (l0 < 32);
> if (!t) goto __L44;
> l3 = (l1 + l2);
> static ushort s1 = 0x7C03;
> (PUSH_i(1),PUSH_i(l3),PUSH_t(GET_CHAR(32)),CALL_SUBR_CODE(s1));
> l1 = l2;
> l2 = l3;
> l0 = (l0 + 1);
> goto __L14;
> __L44:;
> static ushort s2 = 0x7C02;
> (PUSH_i(1),PUSH_t(GET_CHAR(10)),CALL_SUBR_CODE(s2));
> __RETURN:
> return;
> }
>
> --
> Benoît Minisini
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180526/27546693/attachment.html>
More information about the User
mailing list