Follow

This is a good primer on getting into RISC-V assembly

First thing that struck me was how clean it is

I'm most definitely not an "assembly guy", but even a dunce like me can grasp the basics because of how well thought out it is. Probably also helps that RISC-V is new and doesn't have the caked on layers of eldritch horrors as in most others ABIs

web.eecs.utk.edu/~smarz1/cours

· · Tootle for Mastodon · 2 · 6 · 18

RISC-V is new and doesn't have the caked on layers of eldritch horrors as in most others ABIs — @cypnk

so eloquently put!

@cypnk
I mean, there are a ton of extensions already. They're still clean enough each, but it all has the potential of getting out of hand at some point. Let's hope it doesn't.

@jens I think what will save this one is that it's open, which means it will be harder to change as more suppliers adopt the ISA and ABI for their products. Also, there's a provision for extensions so if vendors want to add extra "stuff" they can just do it on their own without affecting the mainline spec

That way, they can avoid the mess Intel went through

@cypnk
I'm not sure what that saves in the long run. Compilers will target what extensions they get PRs for, basically. It's going to be a mess there. Different place and theoretically easier to solve, but a mess still.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!