x86-Assembly-Reverse-Engine.../Assembler Intel Code/interrupt_keyboard.S
AYIDouble 0706329497 Add
2018-09-13 10:28:04 +02:00

15 lines
No EOL
266 B
ArmAsm

#include "common.h"
BEGIN
CLEAR
/* I've read that the keyboard handler is the number 1 (second one),
* and each entry is 4 byte wide.
*/
movw $handler, 0x04
movw $0x00, 0x06
sti
loop:
jmp loop
handler:
PUTC $'a
iret
jmp loop