Source: https://github.com/eyolfson/os-slides

imageimage

const void*

Basic Hello world program, even lower level than C

image

An Application Binary Interface (ABI) defines the low-level rules for how compiled code interacts, particularly between programs and the operating system.

image

You cannot pass seven arguments or cannot use more than 8 bytes in a register

image

image

image

Disassemble the 36 bytes and we get

image

image

image