目录
lsh R
R = R << 1
寄存器R左移1位,结果存储到寄存器R;
mov A, #0x89 //A = 0x89 mov 0xA0, A //[0xA0] = 0x89 lsh 0xA0 //[0xA0] = 0x12
lsh A, R
A = R << 1
寄存器R左移1位,结果存储到累加器A;
mov A, #0x23 //A = 0x23 mov 0x92, A //[0x92] = 0x23 lsh A, 0x92 //A = 0x46