Skip to content

Files

Latest commit

a950f60 · Jun 24, 2020

History

History
This branch is 2841 commits behind geekcomputers/Python:master.

Assembler

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 16, 2017
Oct 1, 2019
Jun 24, 2020
Oct 10, 2019

Python-Assembler

WE NEED A FREE T-SHIRT

This program is a simple assembler-like (intel-syntax) interpreter language. The program is written in python 2. To start the program you will need to type

python assembler.py code.txt

After you hit 'enter' the program will interpret the source-code in 'code.txt'. You can use many textfiles as input. These will be interpreted one by one.

You can find some examples in the directory 'examples'.

For instance-

$msg db "hello world"

mov ecx, $msg 
mov eax, 4
int 0x80
mov eax, 1
mov ebx, 0
int 0x80

Will print onto console

hello world
END PROGRAM

Refer to GUIDE.txt to read a guide