Page 1 of 1

Strange behaviour

Posted: Tue Sep 26, 2006 4:51 pm
by muisei
This is a code snipet from my keyboard ISR:

xor ah,ah
mov ah,[eax+1]
mov byte [gs:0x0a],ah

The following is the same code but without XOR
mov ah,[eax+1]
mov byte [gs:0x0a],ah

These two codes generate two different results.Could you tell me where is the difference.
By the way I'm working in PM.

10x in advance

Posted: Tue Sep 26, 2006 4:59 pm
by muisei
Stupid me :oops:
I found the problem