shuosc / Come

A C like language and its compiler
The Unlicense
6 stars 3 forks source link

Use meaningful register name #37

Open longfangsong opened 1 year ago

longfangsong commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, all registers println! by clefviewer is encoded as x{id}, but it's preferred to be used like sp, ra and such meaningful register names.

Describe the solution you'd like We should put these preferred register names on the first of the spec file, and use this one when rendering disassembled instruction.