author | Rodrigo Campos
<rodrigo@sdfg.com.ar> 2011-04-09 15:54:08 UTC |
committer | Rodrigo Campos
<rodrigo@sdfg.com.ar> 2011-04-09 15:54:08 UTC |
parent | de9fcc9193f2ece3d54271afa54c2d88e5006821 |
bintree.asm | +15 | -15 |
diff --git a/bintree.asm b/bintree.asm index 4815769..3043e54 100644 --- a/bintree.asm +++ b/bintree.asm @@ -19,11 +19,11 @@ global test_write, test_write2 global insertar, eliminar, destruirArbol, imprimir test_write: - push ebp - mov ebp, esp - push edi - push esi - push ebx + push ebp + mov ebp, esp + push edi + push esi + push ebx mov ebx, [ebp + 8] mov ebx, 0x0 @@ -43,11 +43,11 @@ test_write: ret insertar: - push ebp - mov ebp, esp - push edi - push esi - push ebx + push ebp + mov ebp, esp + push edi + push esi + push ebx ; alocamos memoria para un nodo ; XXX: lo hacemos antes de copiar cosas a los registros porque, por la @@ -109,11 +109,11 @@ insertar: ; asume que *arbol != NULL buscar_e_insertar: - push ebp - mov ebp, esp - push edi - push esi - push ebx + push ebp + mov ebp, esp + push edi + push esi + push ebx mov ebx, [ebp + 8] ; nodo **arbol; 4 bytes mov ebx, [ebx] ; nodo *arbol