Oh, yeah, only for leaf functions. Obviously not for multiple levels of calls.
My understanding is that PPC encourages register based parameter passing just by virtue of having a tonne of registers.
My understanding is that PPC encourages register based parameter passing just by virtue of having a tonne of registers.
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.