4 ms·
There are platforms with 16-bit int and a larger than 16-bit address bus, such as AVR and Amiga. > Real 16-bit programs are often just a one huge function and
by ndiddy 3y ago
There are platforms with 16-bit int and a larger than 16-bit address bus, such as AVR and Amiga.
> Real 16-bit programs are often just a one huge function and all global variables.
I've written software for extremely resource-constrained microcontrollers (7KB flash, 256 bytes of RAM) in "normal C" with many functions, code organized in multiple files, etc. In one case it was to replace firmware written by someone with your mindset, and the resulting code was smaller while having more features.