jcxz.asm 284 B

12345678910111213141516171819202122232425
  1. global _start
  2. %include "header.inc"
  3. mov ecx, 0x10000
  4. jecxz cont1
  5. or eax, 1
  6. cont1:
  7. mov ecx, 0
  8. jecxz cont2
  9. or eax, 2
  10. cont2:
  11. mov ecx, 0x1
  12. jcxz cont3
  13. or eax, 4
  14. cont3:
  15. mov ecx, 0x10000
  16. jcxz cont4
  17. or eax, 8
  18. cont4:
  19. %include "footer.inc"