עבור לתוכן
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

פורסם

יש לי תוכנית בC שקוראת לפונקציה ב אסמבלי, מחשבת ממוצע בספרים במערך ומוצאת מינ ומקס.

יש לי בעיה שאחרי שחיברתי את כל המערך בעזרת המעבד המתמטי, הסכום יושב לי בST(0) ואני רוצה להכניס לו גם את גודל המערך שיושב ב BP+8, אבל אני לא מצליח משום מה.

זה הקטע קוד של החישוב ממוצע. אשמח אם מישהו יאיר את תשומת ליבי.

AVG:

MOV SI,[bP+6]

FLD DWORD PTR [sI]

MOV CX,[bP+8]

L1:

FLD DWORD PTR [sI+4]

FADD

ADD SI,4

CMP CX,2

JZ FINISH

LOOP L1

;------------------------------------------------

FINISH:

MOV di,[bP+8]

FiLD DWORD ptr di

fdiv

אני יודע שהפקודה FILD לא נכונה, השאלה איך אני מכניס את BP+8 ששם נמצא גודל המערך (10 לצורך העניין) לST

ארכיון

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

דיונים חדשים

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.