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

פורסם

משהו מוזר , רשמתי פקודה שמעבירה לרגיסטר DX את הנתון , 0403h ועושה לו PUSH למחסנית.

כמובן שהנתון הזה נתון יחיד במחסנית

לאחר מכן יצרתי פונקציה ובתוך הפונקציה עשיתי POP לתוך אוגר אחר , ומשום מה הוא לא הוציא לי את הנתון 0403h אלא הוא הוציא לי נתון 0013h

לא מובן לי למה

אשמח לעזרה

זה הקוד שעשיתי בתוך הפונקציה


A_ij_with_B_ij_TO_C_ij PROC


xor dx,dx
pop dx ; get numbers of rows and Columns from stuck





RET
A_ij_with_B_ij_TO_C_ij ENDP

פורסם

כשאתה קורא לפונקציה אז נכנסים כל מיני ערכים למחסנית - ספציפית שורת הקוד שממנה נקראה הפונקציה (כדי שהתוכנה תדע לאן לחזור כשהפונקציה מסתיימת).

פורסם
  • מחבר

אני יודע , קראתי עוד קצת עד שענית לי יואב :) אני מאוד מעריך את העזרה שלך ! עד שענית גיליתי באמת שכאשר אתה קורא לפונקציה הפונקציה מכניסה למחסנית את הכתובת שהיא צריכה לחזור אליה.... ולכן עשיתי את השורת קוד הבאה :


A_ij_with_B_ij_TO_C_ij PROC
mov bp,sp
mov ax,[bp+2]; get numbers of rows and Columns from stuck
mov cl,ah
mul cl ; calculate size of array ( 3 * 4 )
mov cx,ax
xor si,si ; set register si to the start of the array
calc: call CalculateFormula
inc si
loop calc

RET
A_ij_with_B_ij_TO_C_ij ENDP


ארכיון

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

דיונים חדשים

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.