With this important note: "clean unaltered C code will compile into very slow code that takes up too much of the limited memory space."
In other words, "C" written for such a CPU will be in a vastly different style from more "normal" C, so that it might be better to just use Asm.
Then again, 8051s, PICs, and other extremely constrained MCUs have been targeted by "C" (subsets), so it's definitely possible if a bit awkward. Personally, I think something like an 8080 would be the minimum to do relatively comfortable C programming in, with a Z80 being far more preferable.
With this important note: "clean unaltered C code will compile into very slow code that takes up too much of the limited memory space."
In other words, "C" written for such a CPU will be in a vastly different style from more "normal" C, so that it might be better to just use Asm.
Then again, 8051s, PICs, and other extremely constrained MCUs have been targeted by "C" (subsets), so it's definitely possible if a bit awkward. Personally, I think something like an 8080 would be the minimum to do relatively comfortable C programming in, with a Z80 being far more preferable.