Bare-metal execution & registers

The Pure Art of
Low-Level Machine Code

Unfiltered deep-dives into x86_64 assembly, CPU instruction pipelines, bootloaders, bare-metal microcontrollers, and custom OS dev.

Quick Filter:
● boot_sector.asm
; A minimal 512-byte boot sector in x86 Real Mode
[org 0x7c00]          ; Bootloader offset loaded by BIOS

start:
    mov ah, 0x0e      ; BIOS teletype output interrupt
    mov al, 'R'       ; Load ASCII character 'R'
    int 0x10          ; Call video interrupt
    jmp $             ; Infinite loop to halt CPU

; Padding and boot signature
times 510-($-$$) db 0
dw 0xaa55

Featured Dispatches

Showing 3 posts
#bootloader 7 min read

Writing Your Own Custom 16-bit Bootloader from Scratch

Transitioning from BIOS real mode to protected 32-bit mode, setting up the Global Descriptor Table (GDT), and jumping into long mode.

OCT 2026 Read Dispatch
#x86_64 9 min read

Understanding x86_64 Calling Conventions & Stack Frames

A granular breakdown of register preservation rules (`rbx`, `rsp`, `rbp`), argument passing via registers, and buffer overflow anatomy.

OCT 2026 Read Dispatch
#kernel 6 min read

Interrupt Service Routines (ISRs) & Programmable Interrupt Controller

Remapping the PIC, setting up the Interrupt Descriptor Table (IDT), and handling hardware keyboard signals at the driver level.

SEP 2026 Read Dispatch

Subscribe to Raw Assembly

No fluff, pure low-level engineering notes sent directly to your inbox whenever registers overflow.