עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

אסמבלי - פקודות הזזה

Featured Replies

פורסם

היי,שאלה בקשר לפקודות באסמבלי

בפקודות SHR , SAR, SHL/SAL : מתי הדגלים OF ו-CF נדלקים? ???

פורסם

http://faydoc.tripod.com/cpu/shr.htm

At the end of the shift operation, the CF flag contains the last bit shifted out of the destination operand.

The OF flag is affected only on 1-bit shifts. For left shifts, the OF flag is cleared to 0 if the most-significant bit of the result is the same as the CF flag (that is, the top two bits of the original operand were the same); otherwise, it is set to 1. For the SAR instruction, the OF flag is cleared for all 1-bit shifts. For the SHR instruction, the OF flag is set to the most-significant bit of the original operand.

פורסם
  • מחבר

אוקי נראה לי שהבנתי, לגבי OF - כשיש הזזה של סיבית אחת :

בפקודה SHR ה-OF שווה לסיבית הכי שמאלית

ובפקודה SAR ה-OF תמיד שווה ל-0

ובפקודה SHL/SAL ה-OF שווה ל-0 אם למספר המקורי ולמספר החדש יש את אותו סימן, אחרת 1=OF

אני צודקת..? ::)

פורסם

נראה כך.

פורסם
  • מחבר

אוקי תודה!

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.