Files
OwOS/kernel/segment.asm
2019-04-27 23:35:28 +01:00

14 lines
197 B
NASM

.global SEGMENTS_RELOAD
SEGMENTS_RELOAD:
ljmp $0x08, $reloadCS
reloadCS:
movw $0x10, %ax
movw %ax, %es
movw %ax, %ss
movw %ax, %ds
movw %ax, %fs
movw %ax, %gs
ret