global _start
section .data
buffer dw 0h
section .text
mov edi, 0
mov ebx, 765
mov eax, -122691
cdq
sub ebx, eax
sbb edi, edx
jne cont
jb failure
cmp ebx, 3
jae cont
failure:
mov eax, 'FAIL'
mov ecx, buffer
mov [ecx], eax
mov edx, 4
call write
cont:
exit:
mov eax, 01h ; exit()
xor ebx, ebx ; errno
int 80h
write:
mov eax, 04h ; write()
mov ebx, 01h ; stdout
int 80h
ret
Z2xvYmFsIF9zdGFydAoKc2VjdGlvbiAuZGF0YQoJYnVmZmVyCWR3CTBoCgpzZWN0aW9uIC50ZXh0CgoJbW92CQllZGksIDAKCW1vdgkJZWJ4LCA3NjUKCW1vdgkJZWF4LCAtMTIyNjkxCgljZHEKCQoJc3ViCQllYngsIGVheAoJc2JiCQllZGksIGVkeCAgCglqbmUJCWNvbnQKCWpiCQlmYWlsdXJlCgljbXAJCWVieCwgMwoJamFlCQljb250CmZhaWx1cmU6Cgltb3YJCWVheCwgJ0ZBSUwnCgltb3YJCWVjeCwgYnVmZmVyCgltb3YJCVtlY3hdLCBlYXgKCW1vdgkJZWR4LCA0CgljYWxsCQl3cml0ZQpjb250OgoKZXhpdDoKCW1vdgkJZWF4LCAwMWgJCTsgZXhpdCgpCgl4b3IJCWVieCwgZWJ4CQk7IGVycm5vCglpbnQJCTgwaAoKCndyaXRlOgoJbW92CQllYXgsIDA0aAkJOyB3cml0ZSgpCgltb3YJCWVieCwgMDFoCQk7IHN0ZG91dAoJaW50CQk4MGgKCXJldA==