ILD

数据处理指令:逻辑运算
作者:HerbertYuan 邮箱:yuanjp89@163.com
发布时间:2017-9-27 站点:Inside Linux Development

支持与(AND)、或(OR)、异或(Exclusive OR)和位清除(bit clear)4种运算。


语法:

AND{cond}{S} Rd, Rn, Op2

ORR{cond}{S} Rd, Rn, Op2

EOR{cond}{S} Rd, Rn, Op2

BIC{cond}{S} Rd, Rn, Op2


BIC用于根据Op2指定的掩码,清除Rn中对应的位。即:Rd = Rn & ~ Op2


Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.