This should be very similar to either the a32 or a64 backend. Some advise how to go about writing a new backend can be found here: https://github.com/robertmuth/Cwerg/blob/master/Docs/backend_porting.md