2 ms·
[I wrote a comment about my half-remembered experiences writing C code for Z80 back in the 1980s, and how compilers didn't do very well, but deleted it because
by rwmj 4y ago
[I wrote a comment about my half-remembered experiences writing C code for Z80 back in the 1980s, and how compilers didn't do very well, but deleted it because these links summarise the situation much better. In particular it looks like Z88DK solves the problems I was having (if only it existed back then ...)]
https://retrocomputing.stackexchange.com/questions/6095/why-do-c-to-z80-compilers-produce-poor-code https://retrocomputing.stackexchange.com/questions/6095/why-...
https://retrocomputing.stackexchange.com/a/4924 https://retrocomputing.stackexchange.com/a/4924