Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     kropka dd 0
  2.         przecinek dd 0
  3.         srednik dd 0
  4.         ;---------------------
  5.  
  6.  
  7.  
  8.  
  9.         ety1:
  10.         mov ah,7 ;wczytywanie znaku, znak jest w al
  11.        int 21h
  12.        cmp al, '0'; przestanie wczytywac jak zostanie wpisane 0 na klawie
  13.        je koniec
  14.        cmp al '.'
  15.        je kropka
  16.        cmp al ','
  17.        je przecinek
  18.        cmp al ';'
  19.        je srednik
  20.  
  21.  
  22.           kropka
  23.           inc kropka
  24.           jmp ety1
  25.  
  26.           przecinek:
  27.           inc przecinek
  28.           jmp ety1
  29.  
  30.                 srednik:
  31.                 inc srednik
  32.                 jmp ety1
  33.  
  34.           koniec:
  35.           mov ah, 4ch
  36.           int 21h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement