Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nerett/cpucode_builder

Assembler for CPU project opcodes written in C
https://github.com/nerett/cpucode_builder

assembly opcodes

Last synced: about 2 months ago
JSON representation

Assembler for CPU project opcodes written in C

Awesome Lists containing this project

README

        

# CPUcode Builder
This project is an implementation of assembler and disassembler (isn't done yet) for the Software CPU project. Assembler compiles asm code into machine code that can be run with the Software CPU. This project is written in C with some handy C++ adjustments.

## Usage
#### Assembler
If you've already built and added `assembly` to `$PATH`, run `assembly ` to compile an assembler programm into machine code supported by the Software CPU. Otherwise build the project and execute assembler with `./Debug/assembly ` or `make asm ` (from project root directory).

#### Disassembler
This section isn't done yet.

## Building from source
Download this repository with

```
git clone https://github.com/nerett/cpucode_builder.git
```

Build the project

```
cd cpucode_builder/
make
```

Run assembler with

```
make asm
```

To totally rebuild the project run

```
make clean
make
```

## Documentation
This section isn't done yet.

## About project
This program was written during MIPT **Ded's** cource.