Crates.io | cfd16-lib-impl |
lib.rs | cfd16-lib-impl |
version | 0.7.0 |
created_at | 2025-05-16 23:35:36.037483+00 |
updated_at | 2025-09-14 22:02:59.459855+00 |
description | Holds the trait Codeable for cfd16-lib, allowing the definition of a proc-macro. |
homepage | https://cremfuelled.net/CFD-16 |
repository | https://codeberg.org/cremfuelled/CFD-16 |
max_upload_size | |
id | 1677520 |
size | 40,110 |
CFD-16 is an Instruction Set Architecture designed for a processor of the same name. The ISA is based on RISC principles and has a 16-bit datapath and a 24-bit address space. The architecture does not provide for virtual memory, instead using protected segments to disallow user processes from accessing kernel resources.
.global _start
.extern itoa
.extern puts
.data
value: .word 240
.text
_start:
mov %b, value
ldr %a, (%b)
mul %a, %a
jsr itoa
jsr puts
str %a, (%b)
sc 0
The CFD-16 project is open to anyone's contribution, whether for source code, documentation, or even just ideas. Feel free to submit an Issue or Pull Request through Codeberg or even to send a patch by email.
All of the source code written for the CFD-16 project is licensed under the GNU GPLv3 or later versions thereof. However, submodules included in the repository may fall under another license.
Documentation for the project is licensed under CC BY-SA 4.0.