larsbrinkhoff / xForth

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

Size optimizations for the Thumb target #21

Closed larsbrinkhoff closed 7 years ago

larsbrinkhoff commented 7 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 7 years ago

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