The controls of my game freeze after the first keypress with int 16h / ah=1
问题 I am coding a game in assembly 8086. I fixed the issue when the game didn't open, but I can't fix the controls. The ESC key works. When I press it, it goes to _QUIT function, but if any other key was pressed before that, the controls freeze and don't react on any key. Is there something wrong with my function? I tried to change the AL register to AH , but it didn't work. _KEYCHECK: mov ah,01h int 16h cmp al,1Bh ;ESC je _QUIT cmp al,48h ;UP je _PLAYER.UP cmp al,50h ;DOWN je _PLAYER.DOWN cmp al