Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/patrislav/triton-tools
- Owner: patrislav
- License: mit
- Created: 2020-02-28T18:08:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-28T18:17:31.000Z (almost 5 years ago)
- Last Synced: 2024-06-19T14:57:29.723Z (7 months ago)
- Topics: assembler, ternary-computer
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```