2
I am doubtful how to recognize a command of arrows in the program in Assembly x86. For example call the proc and when clicking the right arrow, send a reply you used right arrow... If anyone knows what the interruption is for comparing registers and how to do thank you! So far what I found was the interruptions int 16h and 21h, but it didn’t work. Still not recognizing.
Hi Maniero all right? I just wanted to know how to detect the Arrows Keys, tried by ascii code in hexadecimal space for example and it didn’t work.
– MAO
Yes Cmp does the comparison, but I need to know which key stop to do it
– MAO
MAO depends on the hardware you’re using (and it would only work on your own operating system or one that gives you low-level access to this sort of thing) - how you didn’t describe the environment (and if you’re running within an OS) and the hardware, it’s hard to give you more details. An important thing of machine code and even of Assembly is that in each hardware works in a different way, and inside the modern Oses, who takes care of interruptions, ports, etc is the OS, the user does not have access to it.
– Bacco
Thanks Bacco! If I go in the chat you can help me there?
– MAO