Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .model tiny
- .code
- org 100h
- start:
- mov cx,0
- mov ah,1
- int 21h
- cmp al,"a"
- je aa
- cmp al,"b"
- je bb
- cmp al,"c"
- je cc
- aa:
- cmp cx,3
- je koniec
- call tekst
- inc cx
- jmp aa
- bb:
- cmp cx,5
- je koniec
- call tekst
- inc cx
- jmp bb
- cc:
- cmp cx,10
- je koniec
- call tekst
- inc cx
- jmp cc
- tekst:
- mov ah,09
- mov dx, offset info
- int 21h
- ret
- koniec:
- mov ax, 4c00h
- int 21h
- info db "KOLOKWIUM$"
- end start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement