From the course: Getting Started with RISC-V
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
RISC-V assembly language - Raspberry Pi Tutorial
From the course: Getting Started with RISC-V
RISC-V assembly language
- [Narrator] Let's talk about assembly language. Believe it or not, assembly language is at a higher level of abstraction intended for humans to understand. It's a little higher than the actual hardware instruction set known as machine code. Since risk instruction sets usually contain very few instructions, assemblers incorporate the support of pseudo instructions to enhance the human coding experience. Similar to compiled languages, assembly language also uses directives to instruct the assembler to take some action or change a setting. Assembler directives do not result in instructions and are not translated into machine code. Let me elaborate. Here, we have a few examples of pseudo instructions taken from Chapter 25 of "The RISC-V ISA Manual." You can review the document for the full list. Let me comment on a few of these. First, we have nop, or no operation. This is not supposed to do anything. This can be…