This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
section .text | |
org 0x100 | |
mov dx, tree_str | |
mov ah, 0x09 | |
int 0x21 | |
mov ah, 0x4C | |
int 0x21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install build-essential bison flex libgmp3-dev libmpc-dev libmpfr-dev texinfo | |
export PREFIX="/usr/local/i386elfgcc" | |
export TARGET=i386-elf | |
export PATH="$PREFIX/bin:$PATH" | |
mkdir /tmp/src | |
cd /tmp/src | |
curl -O http://ftp.gnu.org/gnu/binutils/binutils-2.42.tar.gz | |
tar xf binutils-2.42.tar.gz |