Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nerett/cpucode_builder
- Owner: nerett
- License: gpl-3.0
- Created: 2021-10-11T19:44:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-02T16:39:31.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T17:25:47.806Z (3 months ago)
- Topics: assembly, opcodes
- Language: C++
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.