Build a Racket based RISC-V assembler

Documentation

Registers

The RISC-V RV32 has 32 32bit registers.

#lang racket
(define-struct register (name width code))

(define zero (make-register 'zero 32 0))
...

Risc-V

More Racket based assemblers

© 2019-2024 David Rasch