If else in MIPS

前端 未结 3 1244
盖世英雄少女心
盖世英雄少女心 2021-01-29 04:38

I am learning MIPS programming, in which I am trying to implement If else conditions. But the problem is when I enter 2 to select subtract condition, the program doesn\'t work.

3条回答
  •  攒了一身酷
    2021-01-29 05:04

    As this is homework:

    If it's equal, it will jump to the offset specified by the label. And if it's not equal, what code do you expect it to execute?

提交回复
热议问题