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

פורסם

השלמתי את מה שצריך אבל אני רק רוצה להיות בטוח אם זה נכון.

במשתנה AsciiChar נתון תו.

התכנית הרשומה למטה פותרת את הבעיה הבאה:

אם AsciiChar מכיל ספרה (כלומר, תו בין '0' ל-'9')

אזי נשים במשתנה Digit את הספרה הזו

אם לא - נשים במשתנה Digit את התו '?'

השלימו את המקומות הריקים:


.MODEL SMALL
.STACK 100h
.DATA
asciiChar DB '7'
digit DB '?'
.CODE
mov ax, @data
mov ds, ax

mov dl, AsciiChar
cmp dl, '0'
______________
cmp '9', dl
js END
sub dl, '0'
______________
END: mov ah, 4ch
int 21h
END

תודה לעוזרים =))

פורסם

אחרי השורה

cmp dl, '0'

לא ביצעת שום פקודת קפיצה כך שכל תו ASCII הקטן מ0 יתן לך ג'יברישיה קטנה

פורסם
  • מחבר

כן רשמתי. אמרתי שאני רוצה לבדוק אם התשובה נכונה..

ארכיון

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

דיונים חדשים

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.