Please enable JavaScript.
Coggle requires JavaScript to display documents.
CH7 (Multiplication and Division Instructions (DIV Instruction (IDIV(有號除法)…
CH7
-
-
移位與旋轉指令
Shift
Logical Shift(邏輯) : 空格填0
SHL : CF<-MSB, LSB<-0(把數字左移1位元 = 數字*2)
SHR : 0->MSB, LSB->CF (把數字右移1位元 = 數字/2)
-
-
Rotation
Without Carry
ROL : CF<-MSB, LSB<-MSB(沒有bit消失)
ROR : LSB->MSB, LSB->CF(沒有bit消失)
Carry
RCL : CF<-MSB, LSB<-CF(把CF放到最低位元)
RCR : CF->MSB, LSB->CF(把CF放到最高位元)
其他
SHLD
語法 : SHLD destination, source, count
-
-
-
-
-