如何将此伪代码示例转换为 Arm 7?
if R8 == 1, Go to "method 1"
else, Go to "method 2"
同样在“方法 1”中,R8 更改为两个(R8=2),所以下次我希望它访问“方法 2”。所以我希望循环在方法1和2之间交替
cmp r8, #1
bleq method1
cmp r8, #1 //method1 may alter CPSR
blne method2
请参阅http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0068b/CIHIDDID.html