目录
brev R
无
1
R = {R[0], R[1], R[2], R[3], R[4], R[5], R[6], R[7]}
对寄存器R的高低比特位进行位序反转,结果存储到寄存器R;
1 2 3
mov A, #0x34 //A = 0x34 mov R, A //R = 0x34 brev R //R = 0x2C
brev A, R
A = {R[0], R[1], R[2], R[3], R[4], R[5], R[6], R[7]}
对寄存器R的高低比特位进行位序反转,结果存储到累加器A;
mov A, #0xC5 //A = 0xC5 mov R, A //R = 0xC5 brev A, R //A = 0xA3