public __chkstk .code __chkstk: push rax push rcx mov rcx,rsp @@: push 0 sub rax,8 jnc @b mov rsp,rcx pop rcx pop rax ret end