Compiler optimization

15 views
Skip to first unread message

Mike

unread,
Aug 30, 2022, 6:27:15 AM8/30/22
to jallib
Hi,

This was pointed out to me so I'm passing it along...

In compiling the blink example for the 12F508 it appears to be generating unnecessary code:

- There are "bank select" macros (datahi_xxx, datalo_xxx), but this chip has only one bank of memory.

- There also macros (branchhi_xxx) that are just nop instructions.

The 12F508 has only 512 words of program memory so this seems not good.  In a final program size of 47 instructions, 12 of the instructions are unnecessary.

Regards,
Mike

vasi vasi

unread,
Sep 8, 2022, 5:38:19 PM9/8/22
to jal...@googlegroups.com
Try older releases from here http://justanotherlanguage.org/

--
You received this message because you are subscribed to the Google Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jallib+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/8a7d6f1e-c527-402c-bb52-025003a9a00en%40googlegroups.com.


--
Vasi
Reply all
Reply to author
Forward
0 new messages