by RealityVoid · 10y ago · 0 comments
Also, the architecture isn't exactly the one to blame for this, it's more dependant on compiler calling conventions. I see things in the arch that facillitate this, but I see it possible to implement this mechanism with or without this arch support. I've only seen certain registers being reserved for something in the compiler docs not the MCU docs.
Eh, maybe I'm rambling.
My understanding is that PPC encourages register based parameter passing just by virtue of having a tonne of registers.