summaryrefslogtreecommitdiffhomepage
path: root/mips.html.markdown
diff options
context:
space:
mode:
authorxnumad <34810600+xnumad@users.noreply.github.com>2023-03-24 21:35:30 +0100
committerGitHub <noreply@github.com>2023-03-24 21:35:30 +0100
commitf1a149c86036a7686ac1cfae3983370e9347d6e6 (patch)
tree19223a52a261b870084cf5829eaa469c502e167a /mips.html.markdown
parentd7356d4b39455ac68d33ebb12037d7fd2351772e (diff)
Fix branching example
Was only wrong in the Java code, assembly code seems fine.
Diffstat (limited to 'mips.html.markdown')
-rw-r--r--mips.html.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/mips.html.markdown b/mips.html.markdown
index b5e35525..6f48dc33 100644
--- a/mips.html.markdown
+++ b/mips.html.markdown
@@ -186,6 +186,7 @@ gateways and routers.
# else
# max = c;
# else
+ # if (b > c)
# max = b;
# else
# max = c;