From 3035f103250e325a7f06f5590a1e489c53622c59 Mon Sep 17 00:00:00 2001 From: Snorre Selmer Date: Wed, 18 Jan 2023 12:44:22 +0100 Subject: [PATCH] Improved wording around relative branching --- mips-programming-101.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mips-programming-101.md b/mips-programming-101.md index 4724210..fb0ba51 100644 --- a/mips-programming-101.md +++ b/mips-programming-101.md @@ -147,7 +147,7 @@ This ***define***s ***MinimumTemperature*** as ***20*** (maybe for use as 20 Cel ## Branch/set matrix -There is logic for relative jumping in code. I have yet to find a use for it that can't be done better with any of the other functions, so I won't cover it here. +There is also logic for relative jumping in code, and it works by adding an 'r' after the 'b' when branching (so 'b' becomes 'br'). Instead of giving the branch a label to go to, you tell it the number of lines to jump (positive number jumps forwards, negative number jumps backwards).
SuffixPrefix