16/32/64 Bit Assembly Programs

Written by mvuksano | Published 2020/08/01
Tech Story Tags: x86 | assembly | virtualization | programming | hardware | virtual-machine | cpu | memory-management | web-monetization

TLDR We will use radare2 (https://rada.re/n/) to compile a simple program for each of those architectures. The program that we will compile and analyse will be extremely simple. This is so we can focus on important aspects of 16, 32 and 64 bit programs rather than complexities in the programs themselves. To produce a binary we only need to invoke a nasm compiler. To explore the program we will use Radare2 to explore the disassembly. The code for all examples and compiling them is available in GitLab repo: https://gitlab.com/mvuksano/kvm-playground/master/05-assemly-compiling.via the TL;DR App

no story

Written by mvuksano | PSS - Pragmatic problem solver @ Facebook
Published by HackerNoon on 2020/08/01