Skip to content

oddcoder/sickassembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published