Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org 100h
- use16
- Start:
- push string
- call CEZAR
- add SP, 2
- ret
- CEZAR:
- push BP
- mov BP, SP
- mov DI, [BP + 4]
- Sukl:
- cmp byte[DI], ' '
- je EndSukl
- add byte[DI], 3
- EndSukl:
- inc DI
- cmp byte[DI], 0
- je EndProc
- jmp Sukl
- EndProc:
- pop BP
- ret
- string db 'onoshko luchiy prepod', 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement