We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Scalar value is returned via a0 register.
Single scalar parameter is passed via a0 register.
Two scalar parameters are passed via a0, a1 registers.
Up-to 8 scalar parameters are passed via a0-a7 registers.
Extra parameters starting with eighth one are passed via in-memory stack (referenced by sp register).
Pointers handling does not differ from ordinary scalars.
All structs(even containing single int field) are passed via reference.