mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-12 01:34:19 +02:00
Correct comment
the s in the mnemonic slt is not for signal but for set slt = "Set on Less Than" according to the manual
This commit is contained in:
@@ -162,7 +162,7 @@ gateways and routers.
|
|||||||
blt $t0, $t1, t0_gt_t1 # Branches when $t0 < $t1
|
blt $t0, $t1, t0_gt_t1 # Branches when $t0 < $t1
|
||||||
ble $t0, $t1, t0_gte_t1 # Branches when $t0 <= $t1
|
ble $t0, $t1, t0_gte_t1 # Branches when $t0 <= $t1
|
||||||
bltz $t0, t0_lt0 # Branches when $t0 < 0
|
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
|
# when $t0 < $t1 with result in $s0
|
||||||
# (1 for true)
|
# (1 for true)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user