8000 GitHub - Stenodyon/dcpu16-as: DCPU 16 Assembler
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Stenodyon/dcpu16-as

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dcpu16-as

DCPU 16 Assembler written in C

Current features:

  • All standard instructions according to specification 1.7
  • Initialized data with DAT
  • Uninitialized data with RES
  • Local labels (starting with .)
  • Expressions for DAT values and RES size, including $ for current byte
  • Special instruction DBP a (debug print) op 0x00 b 0x1F
  • Special instruction DBH (debug halt) 0x00

Usage

Usage: dcpu16-as [OPTION...] DASM_FILES...

  -o, --output=FILE          Output to FILE instead of out.bin
  -v, --verbose              Verbose output
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Building

Dependencies:

  • GCC (may work with other compilers)
  • flex
  • bison
  • GNU make

Build with make

Using DAT

DAT comma, separated, expressions, and, "string literals"

Using RES

RES expression will reserve a number of bytes given by expression

About

DCPU 16 Assembler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0