Files
x86-bare-metal-examples/lidt0.S
Ciro Santilli fb3c7e04c4 Move all documentation to README.adoc
This includes both separate .md files, and documentation that was on the
head of the .S source files.

Retest everything as this was done, and fix a few easy things.
2018-05-13 22:13:19 +01:00

15 lines
178 B
ArmAsm

#include "common.h"
BEGIN
CLEAR
movw $handler, 0
mov %cs, 2
movw $4, 8
movl $0, 0xA
lidt 8
int $0
PUTC $'b
hlt
handler:
PUTC $'a
iret