Skip to content

Instantly share code, notes, and snippets.

@DeRegem
DeRegem / g2ej6.asm
Last active November 3, 2015 18:24
format PE
entry main
section '.text' code readable executable
main:
push str_intro
push format_output
call [printf]
format PE
entry main
section '.text' code readable executable
main:
;EBX=Divisor que va a ir de n-1 hasta 2
mov ebx,17
;Alojo en ECX el resultado, presumo numero primo
mov ecx,1
@DeRegem
DeRegem / g2ej8.asm
Last active November 3, 2015 18:14
format PE
entry main
section '.text' code readable executable
main:
push intro1
push format_output
call [printf]
add esp,8