The general structure of an assembly program should have:
.text
for all assembly code.globl main
to make the main label visible to OSmain:
to setup a main label- MIPS Assembly Instructions
- Syscall at the end to signal program finish
The general structure of an assembly program should have:
.text
for all assembly code.globl main
to make the main label visible to OSmain:
to setup a main label