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