larsbrinkhoff / xForth

Experimental Forth cross compiler for tiny devices
GNU General Public License v3.0
61 stars 13 forks source link

Size optimizations for the Thumb target #21

Closed larsbrinkhoff closed 6 years ago

larsbrinkhoff commented 6 years ago

Squeeze the kernel by 30% down to 156 bytes.

There's also a vector table. The size seems to be implementation defined, but I suppose reducing it from 64 to 32 entries should be ok.

larsbrinkhoff commented 6 years ago

Hmm, I see now there's a range from 48 to 256 vector table entries in various Cortex-M devices.