Search found 2 matches
- Thu Jun 29, 2006 9:44 am
- Forum: PS2 Development
- Topic: EE-GCC and EE-G++ caling conventions
- Replies: 3
- Views: 2310
- Thu Jun 29, 2006 9:33 am
- Forum: PS2 Development
- Topic: EE-GCC and EE-G++ caling conventions
- Replies: 3
- Views: 2310
EE-GCC and EE-G++ caling conventions
I want to call c++ or c functions compiled with e-gcc or e-g++ from my assembly code but i am not sure how the compilers handle passing of arguments and return values. Do they use the stack or registers $a0-$a3 and $v0-$v1 ? a simple test program compiled with the -S assembly source option showed th...