Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilyachichkov/rust_cybercobra_assembler
CYBERcobra Assembler
https://github.com/ilyachichkov/rust_cybercobra_assembler
assembler low-level risc-v rust
Last synced: about 1 month ago
JSON representation
CYBERcobra Assembler
- Host: GitHub
- URL: https://github.com/ilyachichkov/rust_cybercobra_assembler
- Owner: IlyaChichkov
- Created: 2024-03-14T15:09:05.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-03-29T11:19:42.000Z (8 months ago)
- Last Synced: 2024-10-12T20:41:22.258Z (about 1 month ago)
- Topics: assembler, low-level, risc-v, rust
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CYBERcobra Assembler
## Description
Assembler for architecture: [CYBERcobra 3000 Pro 2.1](https://github.com/MPSU/APS/tree/master/Labs/04.%20Primitive%20programmable%20device).
### ISA
*Supported commands:*
1. `add` `rd`, `rs1`, `rs2`
2. `sub` `rd`, `rs1`, `rs2`
3. `xor` `rd`, `rs1`, `rs2`
4. `or` `rd`, `rs1`, `rs2`
5. `and` `rd`, `rs1`, `rs2`
6. `sra` `rd`, `rs1`, `rs2`
7. `sll` `rd`, `rs1`, `rs2`
8. `srl` `rd`, `rs1`, `rs2`
9. `slts` `rd`, `rs1`, `rs2`
10. `sltu` `rd`, `rs1`, `rs2`
11. `blt` `rs1`, `rs2`, `imm`
12. `bltu` `rs1`, `rs2`, `imm`
13. `bge` `rs1`, `rs2`, `imm`
14. `bgeu` `rs1`, `rs2`, `imm`
15. `beq` `rs1`, `rs2`, `imm`
16. `bne` `rs1`, `rs2`, `imm`
17. `li` `rd`, `imm`
18. `j` `imm`### Simular projects
[Assembler | C++](https://github.com/BROsandr/cybercobra_assembler)
### Example
[Assembler program](./test/program.s)
### Workflow
Rust, VS Code
## Author
[Github](https://github.com/IlyaChichkov)