summaryrefslogtreecommitdiffhomepage
path: root/mips.html.markdown
diff options
context:
space:
mode:
authorxnumad <34810600+xnumad@users.noreply.github.com>2023-03-24 21:33:35 +0100
committerGitHub <noreply@github.com>2023-03-24 21:33:35 +0100
commitd7356d4b39455ac68d33ebb12037d7fd2351772e (patch)
treef19d0b2d4f27cb1f376414e07bd7cf690189ab94 /mips.html.markdown
parent6ac5983d5abe502ef98ae49e9a4b40de21f3dc73 (diff)
Correct comment
the s in the mnemonic slt is not for signal but for set slt = "Set on Less Than" according to the manual
Diffstat (limited to 'mips.html.markdown')
-rw-r--r--mips.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/mips.html.markdown b/mips.html.markdown
index 31f735b0..b5e35525 100644
--- a/mips.html.markdown
+++ b/mips.html.markdown
@@ -162,7 +162,7 @@ gateways and routers.
blt $t0, $t1, t0_gt_t1 # Branches when $t0 < $t1
ble $t0, $t1, t0_gte_t1 # Branches when $t0 <= $t1
bltz $t0, t0_lt0 # Branches when $t0 < 0
- slt $s0, $t0, $t1 # Instruction that sends a signal
+ slt $s0, $t0, $t1 # "Set on Less Than"
# when $t0 < $t1 with result in $s0
# (1 for true)