1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-11 17:24:29 +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:
xnumad
2023-03-24 21:33:35 +01:00
committed by GitHub
parent 6ac5983d5a
commit d7356d4b39

View File

@@ -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)