Logo 
Search:

Assembly Language Forum

Ask Question   UnAnswered
Home » Forum » Assembly Language       RSS Feeds

Print the location of the mouse cursor at any moment

  Asked By: Behrooz    Date: May 11    Category: Assembly Language    Views: 607
  

Hello, to all of you my dear professors wanted to write a program to place the mouse cursor at any point in trying to print the output .
I then wrote the code but did not get the answer I'm grateful that I can help your loved ones get
Thanks

.MODEL SMALL
.STACK
.DATA
row DW ?
column DW ?

.CODE
MAIN PROC
MOV AX,0
INT 33H

MOV AX,1
INT 33H


MOV AX,3
INT 33H

MOV row,CX
MOV column,DX
DIV row,8
DIV column,8

MOV DX,OFFSET row
MOV AX,09
INT 21H

MOV CX,OFFSET column
MOV AX,09
INT 21H


MOV AX,4C00H
INT 21H

MAIN ENDP
END MAIN


Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Print the location of the mouse cursor at any moment Or get search suggestion and latest updates.




Tagged: