[Gambas-user] First nuclear trial!
Benoît Minisini
g4mba5 at gmail.com
Sat May 26 15:33:44 CEST 2018
...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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_20180526_152922.png
Type: image/png
Size: 61579 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180526/3ea24242/attachment-0001.png>
More information about the User
mailing list