Page 1 of 1

Convert the following C++ code in MIPS assembly language. The value of var is stored in register $s1. Follow the exact o

Posted: Tue Jul 12, 2022 8:16 am
by answerhappygod
Convert the following C++ code in MIPS assembly language.
The value of var is stored in register $s1. Follow the exact order of
arithmetic actions in expressions and don't simplify them.
var = 0;
var =
100 + (5 - var);