summaryrefslogtreecommitdiffhomepage
path: root/mips.html.markdown
diff options
context:
space:
mode:
authorSpiderpig86 <slim679975@gmail.com>2018-08-12 19:17:57 -0400
committerSpiderpig86 <slim679975@gmail.com>2018-08-12 19:17:57 -0400
commitb0d5beb4fa3becf12069f14ee95838f14e532ddb (patch)
tree600e778c9d05f0f9814a0df00d04054ff4b0401b /mips.html.markdown
parent7cd9cef81ebb7156a538253b55f1db59349e3bae (diff)
chore(mips.html.markdown): Added missing colon
Diffstat (limited to 'mips.html.markdown')
-rw-r--r--mips.html.markdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/mips.html.markdown b/mips.html.markdown
index fb1d5ab0..1e3650d4 100644
--- a/mips.html.markdown
+++ b/mips.html.markdown
@@ -23,7 +23,7 @@ gateways and routers.
variables in higher level languages
# Declarations follow a ( label: .type value(s) ) form of declaration
-hello_world .asciiz "Hello World\n" # Declare a null terminated string
+ hello_world: .asciiz "Hello World\n" # Declare a null terminated string
num1: .word 42 # Integers are referred to as words
# (32 bit value)
@@ -359,7 +359,8 @@ hello_world .asciiz "Hello World\n" # Declare a null terminated string
## 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)
+# it really just takes whatever code that is in that file and places it where
+# the include statement is)
.include "somefile.asm"
```