Save value of CX and DX (Assembler) in a variable C

0

I need help to know how to use the value of CX in C I have a program which has to draw an x in the place where click with the mouse. And for that I need to know the value of the assembly interruption 33h.

int mouse_x(int x){
asm mov ax,03
asm int 33h
return _CX;
}
    
asked by Leonel 03.06.2018 в 23:02
source

0 answers