All pastes #796415 Raw Edit

Miscellany

public text v1 · immutable
#796415 ·published 2007-11-25 01:21 UTC
rendered paste body
push ebp
mov ebp, esp
pushad
mov edx, 10 ; program crashes with this instruction
mov eax, 9
mov ebx, 2
idiv ebx
push edx ; remainder
push eax ; quotient
push format
call _printf
add esp, 12	
popad
mov esp, ebp
pop ebp
ret