ARM Assembler - How do I use CMP, BLT and BGT?

前端 未结 3 586
北荒
北荒 2021-02-09 12:29

Quick question for you guys, in my loop I need to use CMP , BLT and BGT to compare some values. How would use said instructions in the following loop?

I\'m trying to use

3条回答
  •  一向
    一向 (楼主)
    2021-02-09 12:58

    You should checkout the ARM documentation at (example for CMP documentation): http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0068b/CIHIDDID.html

    From what can be read there what you are trying to do might require two instructions rather than just one (unless your ARM assembler does some special processing)

    Kind regards,
    Bo

提交回复
热议问题