Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include 'emu8086.inc'
- .model small
- .stack 100h
- .data ; Data Segment
- .code ;Code Segment
- main proc
- mov al , 8
- mov bl , 3
- div bl ; division al & bl register
- mov bx , ax
- ; prine here result [ vagfol ]
- print 'Result : '
- mov dl , bh
- add dl , 48
- mov ah , 02h
- int 21h
- ; here new line print
- mov dl , 10
- mov ah , 02h
- int 21h
- ; here line break and Enter e new line
- mov dl , 13
- mov ah , 02h
- int 21h
- ; print here reminder [vagshesh ]
- print 'Reminder : '
- mov dl , bl
- add dl , 48
- mov ah , 02h
- int 21h
- main endp
- end main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement