Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 13th, 2018 85 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. print proc
  2.     mov cx, 0
  3.     push bp
  4.     mov bp, sp
  5.     mov si, [bp+4]
  6.     mov cl, [si+1]
  7.     add si, 2
  8. pr:
  9.     mov al, [si]
  10.     cmp al, 10
  11.     jl nhex
  12.     add al, '7'
  13.     jmp pr1
  14. nhex:
  15.     add al, 30h
  16. pr1:
  17.     mov res[0], al
  18.     mov dx, offset res
  19.     mov ah, 09h
  20.     int 21h
  21.  
  22.     inc si
  23.     loop pr
  24.    
  25.     mov dx, offset ln
  26.     mov ah, 09h
  27.     int 21h
  28.  
  29.     pop bp
  30.     ret
  31. print endp
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top