Advertisement
Dari_

Untitled

Mar 31st, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %include "io.inc"
  2.  
  3. section .text
  4.  
  5. REC:
  6.     push ebp
  7.     mov ebp, esp
  8.    
  9.     push ebx
  10.     GET_DEC 4, ebx
  11.     cmp ebx, 0
  12.     je .end
  13.    
  14.     call REC
  15.     PRINT_DEC 4, ebx
  16.     PRINT_STRING ' '
  17.     .end:
  18.     pop ebx
  19.     mov esp, ebp
  20.     pop ebp
  21.     ret
  22.  
  23.  
  24. global CMAIN
  25.     CMAIN:
  26.     call REC
  27.     xor eax, eax
  28.     ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement