How to do an assemble-time modulus on constants in ARM assembly language

后端 未结 3 1135
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-18 16:16

I want to know how to do modulus in arm assembly language

I\'ve tried the code in this page MOD operator in arm website:

MOV     R1,#12 MOD 7   ; R1         


        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-18 16:30

    Keil/armasm spells it :MOD:. See the manual http://www.keil.com/support/man/docs/armasm/armasm_Cacechjd.htm

提交回复
热议问题