bcasm/examples/waitkey.asm

9 lines
84 B
NASM

;wait for release
LBL R
MOV GTK ANS
JEZ R
;wait for press
LBL P
MOV GTK ANS
JNZ P