blob: e071a4125254d90ec88015529f06d549c3d952ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
.code16
_start:
/* Normalize CS + other selectors */
ljmp $0x00,$1f
1: xor %ax, %ax
mov %ax, %ds
mov %ax, %ss
mov %ax, %es
mov %ax, %gs
mov %ax, %fs
2: cli
hlt
jmp 2b
.org 510
.byte 0x55
.byte 0xAA
|