Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/patrislav/triton-tools

Tools for use with the Triton CPU architecture
https://github.com/patrislav/triton-tools

assembler ternary-computer

Last synced: about 2 months ago
JSON representation

Tools for use with the Triton CPU architecture

Awesome Lists containing this project

README

        

# Triton Tools

This repository contains tools for use with the [Triton](https://github.com/patrislav/triton) architecture and CPU family.

Currently it only contains a very basic assembler (trasm) and disassembler (detrasm.)

## Usage

The following command will build all the tools and place them in the `bin` directory:

```bash
make
```

To assemble a `.tras` source into a ternary program and output it to a file:

```bash
cat path/to/file.tras | bin/trasm > path/to/output.bct
```

To disassemble a ternary program into an instruction listing and print it to standard output:

```bash
cat path/to/file.bct | bin/detrasm
```