Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mov ax, 4
- mov cx, 2
- mul cx ; ax = 4 * 2
- add ax, 0x30 ; ax = 4 * 2 + 48
- mov word [loc.resultado], ax ; resultado = 4 * 2 + 48
- mov eax, 4
- mov ebx, 1
- mov ecx, loc.resultado
- mov edx, 1
- int 0x80 ; puts(resultado) <- imprimir un solo caracter
- mov eax, 1
- mov ebx, 0
- int 0x80 ; exit(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement