OpenTitan Assembly Style Guide

Today’s @risc_v Tip:

Today’s tip comes courtesy of the OpenTitan (a @lowRISC project) RISC-V assembly style guide. Using n(reg) offset syntax (even if n=0) when interacting with registers that are storing pointers makes it visually clear that the contents are a memory address.

21-12-11

Original Tweet