Double Conditions in ARM assembly

后端 未结 3 1295
予麋鹿
予麋鹿 2020-12-21 22:41

I am very new to ARM and doing an assignment for a class. What I am confused about is a double condition like, if (x > 0 && x < 100) do something.

What I

3条回答
  •  无人及你
    2020-12-21 23:16

    You need to perform a comparison before using BLT or BGT. This thread: ARM Assembler - How do I use CMP, BLT and BGT? seems to have the answer you are seeking.

提交回复
热议问题