Understanding RISC-V Assembly Language by Building an Assembler in C# - Part 2
Too Long; Didn't Read
In this article, we focus on the Label Processing phase and discuss the essential aspects of handling labels, calculating addresses, and dealing with offsets. Labels provide a symbolic representation of memory addresses and play a pivotal role in facilitating jumps and branches in the code. We use a simple algorithm to extract and store these labels along with their corresponding addresses.