Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Outline

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.