Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PROCEDURE
- org 100h
- .stack 100h
- .data
- .code
- proc main
- mov dx, @data
- mov ds, dx
- MOV AX,5
- MOV BX,2
- CALL DIVISION
- DIVISION PROC
- PUSH DX
- XOR DX, DX
- DIV bx
- MOV BX, DX
- POP DX
- RET
- ENDP DIVISION
- endp main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement