Skip to content

freewilll/was

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WAS Assembler for x86_64 Linux

This project is an assembler for x86-64 linux intended for use with wcc.

Features

  • Assembly based on x86reference.xml
  • A single .text section
  • Multiple data sections
  • Limited expressions such as used in .size and the debug symbols
  • Branch shortening
  • Debug symbols

Building

A python script parsed x86reference.xml into opcodes-generated.c. A python virtualenv must be installed with some dependencies. To set this up:

cd scripts
python3 -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Build

make was

Run tests

make test

About

WAS Assembler for x86_64 Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages