Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This repository contains the implementation of a two pass assembler involving tries for fast in-memory opcode fetch and has implementation of loader and linkers for linking the object file created to make an executable file.

License

Notifications You must be signed in to change notification settings

TheSYNcoder/ProprietaryAssembler

Repository files navigation

Proprietary Assembler (PASM)

An implementation of a simple yet fast two-pass assembler in C with tries for fast in-memory opcode fetch.

Supports

  • Parsing assembler scripts
  • Generation of intermediate file
  • Generation of object file
  • Generation of symbol tables
  • Loader creating exe files

Instructions on running

Write the source assembly in a source file such as file.pasm and then run the following command:

$make test

The above command takes care of assembling the source code, linking and executing the binary.

Limitations

  • The opcodes.csv file contains the supported opcodes, more opcodes has to be supported and some have yet undefined lenghts.
  • There is no support for macros
  • There is no support for some assembler directives such as EXTERN , ORG and LTORG.
  • There is yet no support for multiple control sections.

About

This repository contains the implementation of a two pass assembler involving tries for fast in-memory opcode fetch and has implementation of loader and linkers for linking the object file created to make an executable file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

AltStyle によって変換されたページ (->オリジナル) /