enatha.ng ;
  • Home
  • Blog
  • Series
    • Trying to understand...
  • Diagrams and Comics
  • Projects
  • About
  • Home
  • Blog
  • Series
    • Trying to understand...
  • Diagrams and Comics
  • Projects
  • About
Writing a RiscV linter
Code https://github.com/enathang/riscv-linter Introduction Recently, I’ve started writing an Operating System. I have been following Sarah Lewis’s tutorial and MIT’s xv6 OS textbook. Both encourage the use of assembly for parts of the OS (bootloader, certain trap handling, etc.) This was my first time writing in assembly. As I was writing and researching more about RISC-V assembly, I learned that the assembly should follow RISC-V’s ABI. The Application Binary Interface standardizes how assembly should be written, such as which registers can be overwritten, which registers should not, etc.
2023/08/25 ยท Posts
  • ««
  • «
  • 1
  • 2
  • »
  • »»
Want to get notified when I publish a new post?

Or use the RSS feed