mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
feat(mips.html.markdown): Added example for using include statements
This commit is contained in:
parent
b7bb2fc93d
commit
8239325a36
@ -357,4 +357,8 @@ hello_world .asciiz "Hello World\n" # Declare a null terminated string
|
|||||||
j loop
|
j loop
|
||||||
end_loop:
|
end_loop:
|
||||||
|
|
||||||
|
## INCLUDE ##
|
||||||
|
# You do this to import external files into your program (behind the scenes, it really just takes whatever code that is in that file and places it where the include statement is)
|
||||||
|
.include "somefile.asm"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user