os/cpu/i386/seg_upd.asm

12 lines
123 B
NASM
Raw Normal View History

2019-02-10 14:11:07 -06:00
global seg_upd
seg_upd:
jmp 0x8:code_upd
code_upd:
mov ax, 0x10
mov ds, ax
mov ss, ax
mov es, ax
mov fs, ax
mov gs, ax
ret