Modifications

Sauter à la navigation Sauter à la recherche
Ligne 47 : Ligne 47 :  
     add(r0, r0, r1)</nowiki>
 
     add(r0, r0, r1)</nowiki>
   −
This performs the computation {{fname|r0 = r0 + r1}}. Since the result is put in {{fname|r0}}, that is what is returned. Try {{fname|asm_add(1, 2)}}, it should return 3.
+
This performs the computation {{fname|r0 == r0 + r1}}. Since the result is put in {{fname|r0}}, that is what is returned. Try {{fname|asm_add(1, 2)}}, it should return 3.
    
== Les boucles ==
 
== Les boucles ==
29 917

modifications

Menu de navigation