mortbopet / Ripes

A graphical processor simulator and assembly editor for the RISC-V ISA
https://ripes.me/
MIT License
2.49k stars 270 forks source link

Move instruction set from `Assembler` to `ISAInfoBase` #323

Closed raccog closed 8 months ago

raccog commented 8 months ago

Completes #303 by:

Also added an ISAInfoBase cache in the class ISAInfoRegistry. This can be utilized to reduce the number of instruction set instantiations.

Also helpful towards #297 (allows ISAs to be queried easily) and #307 (closer to separating libraries).