GDT Tutorial: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content added Content deleted
Line 174: | Line 174: | ||
MOV GS, AX |
MOV GS, AX |
||
MOV SS, AX |
MOV SS, AX |
||
⚫ | |||
; Reload CS register containing code selector: |
; Reload CS register containing code selector: |
||
JMP 0x08:reload_CS ; 0x08 points at the new code selector |
JMP 0x08:reload_CS ; 0x08 points at the new code selector |
||
⚫ | |||
RET |
RET |
||
</source> |
</source> |