Skip to content

Instantly share code, notes, and snippets.

View KevSlashNull's full-sized avatar

Kev 🐶 KevSlashNull

View GitHub Profile
@jsutlovic
jsutlovic / print_hex.asm
Created October 7, 2014 03:52
Assembly print hex
[org 0x7c00]
mov dx, 0x1fb7 ; Set the value we want to print to dx
call print_hex ; Print the hex value
jmp $ ; Hang once we're done
%include "print_string.asm"
; Prints the value of DX as hex.
print_hex: