This repository has been archived on 2022-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
compilateurMIPS/tests/23_fn-name-mips-instr.test

10 lines
177 B
Text
Raw Normal View History

int add (int a, int b) {
2022-12-27 17:22:22 +01:00
# Alors que "add" est le nom d'une instruction MIPS
# -> ça ne pose aucun problème
return a + b;
}
void main () {
puti(add(1, 3));
}