Git Product home page Git Product logo

intel-assembly-language-programming-exercises's Introduction

Intel-Assembly-Language-Programming-Exercises

This project contains solutions to programming exercises from Assembly Language for x86 Processors (7th Edition) by Kip Irvine. Each solution has been documented to the best of my ability, but please let me know if you find any issues or have any feedback.

Getting Started

Prerequisites

Click here to download the Irvine32 library used in the programs. Unzip the downloaded file into a directory named Irvine on Drive C. When installing Visual Studio, be sure to select Visual C++ under the Programming Languages category. If you forget to do this, you can always rerun the install file and modify the existing installation.

Installing

Step 1: Start Visual Studio and select File > Open > Open from Source Control.

Step 2: When the Team Explorer opens select Clone under Local Git Repositories. Enter the following URL:

https://github.com/avivbrook/Intel-Assembly-Language-Programming-Exercises.git

Step 3: Click Clone and then double click Intel-Assembly-Language-Programming-Exercises.sln in the Solution Explorer.

Step 4: Select all the asm files using shift-click. Right-click and select Properties. Go to Configuration Properties > General and set Excluded from Build to Yes. To run one of the programs, simply right-click the specific file you want to run and change Excluded from Build to No.

Step 5: Right-click the project (Intel-Assembly-Language-Programming-Exercises) in the Solution Explorer and select Properties. Go to Microsoft Macro Assembler > General and set Include Paths to C:\Irvine.

Step 6: In the same window, go to Microsoft Macro Assembler > Listing File and set Assembled Code Listing File to $(ProjectName).lst.

Step 7: Go to Linker > General and set Additional Library Directories to C:\Irvine.

Step 8: Go to Linker > Input and add irvine32.lib; to the beginning of Additional Dependencies so that the final value will be irvine32.lib;kernel32.lib;...etc....

Step 9: Go to Linker > Debugging and set Generate Debug Info to Yes (/DEBUG).

Step 10: Go to Linker > System and set SubSystem to Console (/SUBSYSTEM:CONSOLE).

Step 11: Go to Linker > Advanced and set Randomized Base Address to No (/DYNAMICBASE:NO) and Image Has Safe Exception Handlers to No (/SAFESEH:NO).

Step 12: Click Apply and OK to close the window.

Try pressing F10 or F11 to enter debugging mode. If everything's working fine, congratulations -- the project works!

Author

  • Aviv Brook - Based on exercises from Kip Irvine's book. - avivbrook

intel-assembly-language-programming-exercises's People

Contributors

avivbrook avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.