author | Rodrigo Campos
<rodrigo@sdfg.com.ar> 2011-04-14 03:45:02 UTC |
committer | Rodrigo Campos
<rodrigo@sdfg.com.ar> 2011-04-14 03:47:12 UTC |
parent | 46380531179e25e5a1461d2f765d10968cfb1beb |
bintree.asm | +11 | -2 |
diff --git a/bintree.asm b/bintree.asm index 1f6d18b..24268ef 100644 --- a/bintree.asm +++ b/bintree.asm @@ -556,19 +556,28 @@ imprimirArbol: add esp, 8 ; Me imprimo yo + + ; char* nombre, 5º param push dword .nNom + ; pongo el float, 4º param + ; ocupa 8 bytes en el stack fld dword .nPun sub esp, 8 fstp qword [esp] + ; pongo el id, 3º param mov eax, 0 mov ax, .nId push eax - push dword fprintf_format ; formato - push ebx ; FILE*, 1º param + ; formato, 2º param + push dword fprintf_format + + ; FILE*, 1º param + push ebx call fprintf + ; 8(float) + 4 * 4 (el resto) = 24 add esp, 24 ; si devolvio error salimos