Skip to content

Instantly share code, notes, and snippets.

@lovesegfault
Created August 17, 2016 22:23
Show Gist options
  • Save lovesegfault/5a8527f14880c855a4f7b1876f64b952 to your computer and use it in GitHub Desktop.
Save lovesegfault/5a8527f14880c855a4f7b1876f64b952 to your computer and use it in GitHub Desktop.
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