Coordinates of my mouse are not matching up with my coordinates of my sprite
It was my project to create a duck hunt game in masm615 8086 assembly and in that I have implemented a crosshair that moves with cursor using the INT 33 and I have added a check where on left click of my mouse it checks if the center coordinates of crosshair is in range of any of spirtes coordinates if yes the exit the procedure else continue the loop now the problem in my program is that whenever
I click it it call the checkduckinrange procedure but for some reason that program never returns true (AX=1) even if I click on duck it always returns false (AX=0) I don’t know whats happening need help. Pleaseeee