Created
August 17, 2016 22:23
-
-
Save lovesegfault/5a8527f14880c855a4f7b1876f64b952 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global long_mode_start | |
section .text | |
bits 64 | |
long_mode_start: | |
; print `OKAY` to screen | |
mov rax, 0x2f542f682f612f6E | |
mov rbx, 0x2f6B2f73 | |
mov qword [0xb8000], rax | |
hlt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment