Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.15 KB

README.md

File metadata and controls

39 lines (32 loc) · 1.15 KB

Rusty Sick Assembler

Build Status

asciicast

Usage

The object file is generated in the same directory

Usage: target/debug/sick_assembler FILE [options] file

Options:
    -o, --output name   set output file name
    -c, --csect         print control section details
    -h, --help          print this help menu

SIC/XE machine assembler

Extensive amount of error checking is done

  • Undefined Mnemonics
  • Undefined Directives
  • Duplicate labels
  • Control section redefinition
  • Label redefinition
  • Duplicate imports in a control section
  • Duplicate exports of a variable
  • Un-imported symbols
  • Malformed instructions
  • Invalid literals
  • Out of bound addresses
  • Invalid expressions
  • Missing START instruction
  • Missing Program name
  • Illegal format addressing for imported symbol
  • Out of bit range parameters

Tests

you can find test codes (.asm) files in ./src/tests/ directory. In addition to module & unit tests.