Skip to content
Darren Kulp edited this page Sep 8, 2012 · 8 revisions

The tenyr assembler (tas.c) converts between tenyr assembly language and assembled representations.

There are several possible assembled representations :

  • obj - tenyr objects (the default)
  • raw - absolute binary files
  • text - ASCII-encoded hexadecimal 32-bit words, one per line
  • verilog - snippets of Verilog code that can be included in a fixed wrapper

tas --help produces the following usage description :

Usage: ./tas [ OPTIONS ] file [ file ... ] 
Options:
  -d, --disassemble     disassemble (default is to assemble)
  -f, --format=F        select output format (obj, raw, text, verilog)
  -o, --output=X        write output to filename X
  -s, --strict          disable syntax sugar in disassembly
  -v, --verbose         disable simplified disassembly output
  -h, --help            display this message
  -V, --version         print the string 'tas version v0.4.1-3-gab2a0b3'
Clone this wiki locally