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

פורסם

טוב, אני חדש בתחום של האסמבלי.

כתבתי תוכנית במחשב אחד(בלימודים), התקמפל ורץ.

העברתי את הקבצים למחשב בבית, התוכנית רצה אבל כשאני מקמפל שוב מופיעה לי השגיאה:

make: nasm: Command not found

קובץ הmakefile המלא:(תתעלמו מההערות)- זוי תוכנית c שקוראת לתוכנית באסמבלי

#format is target-name: target dependencies
#{-tab-}actions

# All Targets
all: hello

# Tool invocations
# Executable "hello" depends on the files hello.o and run.o.
hello: main.o ass0.o
gcc -m32 -g -Wall -o hello main.o ass0.o

# Depends on the source and header files
main.o: main.c
gcc -g -Wall -m32 -c -o main.o main.c

ass0.o: ass0.s
nasm -g -f elf -w+all -o ass0.o ass0.s


#tell make that "clean" is not a file name!
.PHONY: clean

#Clean the build directory
clean:
rm -f *.o hello

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

תודה רבה!

פורסם

בדיוק כמו שכתוב לך - התוכנה nasm לא מותקנת לך על המחשב.

פורסם
  • מחבר

עזרת מאוד! תודה רבה :)

ארכיון

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

דיונים חדשים

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.