ممكن افهم نتيجة هذا لكود :
stc
mov al , 6B
rcr al , 1
rcl al , 3
شكرا
ممكن افهم نتيجة هذا لكود :
stc
mov al , 6B
rcr al , 1
rcl al , 3
شكرا
النتيجة ان
al = 0AC
اقتباسRCL Rotate operand left through CF.Rotates the bits in the first operand to the left by the value in the second operand. the bits that overflow is stores in CF and, if necessary, is pushed back in the operand as the right-most (lowest) bit.
RCR Rotate operand right through CF.
Rotates the bits in the first operand to the right by the value in the second operand. the bits that overflow is stores in CF and, if necessary, is pushed back in the operand as the left-most (highest) bit.
تم تعديل هذه المشاركة بواسطة AND في 17 مايو 2008 في 15:24
stc
set carry وهى خانى 1 بت يتم وضع فيها الخانة الزائدة فى علية الجمع او الطرح
mov al , 6B
نقل الجزئ السفلى من مسجل a بالرقم 6b
rcr al , 1
عمل تدوير لل al من خلال خانة ال carry لاحظ ان بها 1
rcl al , 3
عمل تدوير ناحية اليسار من خلال خانة الحمل carry
حبيت بس اوضح بالعربى :D
مبارك لشعب تونس ![]()