论文部分内容阅读
六、循环和移位类指令循环和移位指令可以对寄存器和内存单元进行循环和移位,它们归纳在表10中。表右侧的图是各条指令意义的解释。RLC和RRC分别是循环左移和循环右移。在循环左移中,各位依次左移,而最高位一方面送最低位,同时也送到C_y;而循环右移中的最低位同时送最高位和C_y。RL和RR是带进位的循环左移和右移,将寄存器和C_y连接起来一起循环。SLA和SRA是算术左移和算术右移,其作用相当于×2和+2。另一种SRL是逻辑右移。RLD
Sixth, the cycle and shift instructions Cycle and shift instructions register and memory cells can be recycled and shifted, which are summarized in Table 10. The figure to the right of the table is an explanation of the meaning of each instruction. RLC and RRC are left-shifted and right-shifted respectively. Left in the loop, you left in turn, while the highest bit on the one hand to send the lowest bit, but also sent to C_y; and the lowest bit in the right cycle while sending the highest bit and C_y. RL and RR are rotated left and right with carry, looping the registers together with C_y. SLA and SRA are arithmetic shift left and arithmetic shift right, its role is equivalent to × 2 and +2. Another SRL is a logical right shift. RLD