Emu8086 Overview

Everything for learning assembly language in one pack! Emu8086 combines an advanced source editor, assembler, disassembler, software emulator (Virtual PC) with debugger, and step by step tutorials.

This program is extremely helpful for those who just begin to study assembly language. It compiles the source code and executes it on emulator step by step.

Visual interface is very easy to work with. You can watch registers, flags and memory while your program executes.

Arithmetic & Logical Unit (ALU) shows the internal work of the central processor unit (CPU).

Emulator runs programs on a Virtual PC, this completely blocks your program from accessing real hardware, such as hard-drives and memory, since your assembly code runs on a virtual machine, this makes debugging much easier.

8086 machine code is fully compatible with all next generations of Intel's micro-processors, including Pentium II and Pentium 4, I'm sure Pentium 5 will support 8086 as well. This makes 8086 code very portable, since it runs both on ancient and on the modern computer systems. Another advantage of 8086 instruction set is that it is much smaller, and thus easier to learn.

Before we start...


Make sure you have the latest Emu8086 pack (assembler and emulator), you can download it from here: http://www.coval.net/teach/emu8086.

You can also use any other assembler, but this could be more difficult since you may need to work from the command prompt and Emu8086 is a Windows based application so you can enjoy user-friendly Windows environment.

Emu8086 has a much easier syntax than any other assemblers, but still generates the same machine code, so it's good for beginners.

 Emu8086 has a much easier syntax than any of the major assemblers, but will still generate a program that can be executed on any computer that runs 8086 machine code; a great combination for beginners!

Note: If you don't use Emu8086 to compile the code, you won't be able to step through your actual source code while running it.

Where to start?
  1. Start Emu8086 by selecting its icon from the start menu, or by running Emu8086.exe.

  2. Select "Samples" from "File" menu.

  3. Click [Compile and Emulate] button (or press F5 hot key).

  4. Click [Single Step] button (or press F8 hot key), and watch how the code is being executed.

  5. Try opening other samples, all samples are heavily commented, so it's a great learning tool.

  6. This is the right time to see the tutorials

סקירת האמולטור

כל הדרוש ללימוד שפת אסמבלי בחבילה אחת !!!

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

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

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

היחידה האריתמטית לוגית (ALU) מציגה את הפעולה הפנימית של המעבד (CPU).

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

צופן המכונה 8086 מתאים לכל המהדורות של מעבדי אינטל, כולל המודלים המתקדמים של מעבד פנטיום. דבר זה נותן גמישות גדולה יותר כי קוד 8086 ניתן להרצה במחשבים חדשים וישנים כאחד. יתרון נוסף של מערכת הפקודות של 8086 הוא שכמות הפקודות קטנה יותר ומכאן קלה יותר ללימוד.

וודא כי ברשותך המהדורה האחרונה של חבילת התוכנה של האמולטור. ניתן להוריד את הגרסה החדשה באמצעות המספר הסידורי הקיים ברשותך בקישור הבא: http://www.coval.net/teach/emu8086

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

תחביר האמולטור קל יותר מתחביר של מהדרים אחרים, ובו בזמן שפת המכונה הינה זהה, דבר המהווה יתרון חשוב למתכנתים מתחילים.

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

הערה: במידה ולא מבצעים את תהליך ההידור עם תוכנת האמולטור, לא קיימת אפשרות להריץ את התוכנית ב"צעד יחיד".

מאיפה מתחילים?

א- הפעל את התוכנה על-ידי לחיצת הצלמית (icon) המתאימה מתוך כפתור התחל (start), או על-ידי כניסה למחיצה בה מותקן האמולטור והרצת התוכנית Emu8086.exe.

ב- בחר "דוגמאות" מתוך תפריט "קבצים".

ג- לחץ על כפתור "מהדר והדמיה" (או F5).

ד- לחץ על כפתור "צעד יחיד" (או F8) , וראה כיצד הקוד מתבצע.

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

ו- זה הזמן המתאים להתבונן בשיעורי הדרכה. לחץ על הקישור הבא:   Tutorials