Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 2.67 KB

README.md

File metadata and controls

45 lines (32 loc) · 2.67 KB

Assembly Playground

This repository contains both x86 (IA-32) and x64 (IA-64) assembly, written on a Mac. Don't expect my programs to compile on other machines.

Some programs are written as C then "compiled" into ASM as an exercise to see what the compiler does at the different optimisation steps.

Motivation

  • Learn x86 and x64 assembly
  • Is it hard to write assembly that outperforms the compiler?

The x86-isolated contains an application written without the stdlib. It also have it's own entrypoint, instead of the GCC's.

Resources

The web is a nice place, but books are still better:

  • Andrew Tanenbaum: Modern Operating Systems, 3rd Edition, 2007. Prentice-Hall. ISBN: 0-13-600663-9

  • The Undocumented PC, Frank van Gilluwe, Addison Wesley

  • Protected Mode Software Architecture, by Tom Shanley, MindShare, Inc. 1996.

  • Understanding the Stack

On the web

IA-64 registers