GithubHelp home page GithubHelp logo

asm's Introduction

Up Next

Basic Arithmetic Operations:
    Learn to perform addition, subtraction, multiplication, and division.
    Understand the use of registers like EAX, EBX, etc., for these operations.
    Familiarize yourself with flags, especially the overflow and carry flags, and how they're affected by arithmetic operations.

Control Flow:
    Study conditional jumps (JE, JNE, JG, JL, etc.) and loops (LOOP, LOOPE, LOOPZ).
    Implement basic programs, such as checking if a number is even or odd, or finding the maximum of two numbers.

Data Movement and Manipulation:
    Get comfortable with instructions like MOV, LEA, PUSH, POP, etc.
    Learn string operations (STOS, LODS, MOVS, etc.) and their uses.

Stack and Procedures:
    Understand the role of the stack in function/procedure calls.
    Learn to write and call procedures, understand calling conventions, and how parameters are passed and results returned.

Advanced I/O:
    Go beyond the basic write system call. Learn about reading input using system calls.
    Try creating simple programs that take user input and process it, e.g., a basic calculator.

Arrays and Structures:
    Learn to define and manipulate arrays and structures in assembly.
    Implement basic algorithms like searching and sorting on arrays.

Bit Manipulation:
    Familiarize yourself with bitwise operations (AND, OR, XOR, SHL, SHR, etc.).
    Explore bit testing and setting/clearing specific bits in a byte or word.

Memory Management:
    Dive into memory segmentation, selectors, and descriptors.
    Explore the use of segments like DS, SS, CS, etc.

Inline Assembly:
    Learn how to embed assembly code within C or C++ programs. This will give you a perspective on how high-level and low-level code can interoperate.

Debugging and Tools:
    Get hands-on experience with debugging tools like gdb.
    Learn about disassemblers and how to read disassembled code.

Advanced Topics (if you're still interested and want to go deeper):
    Dive into hardware interrupts, exception handling, and system-level programming.
    Explore the Floating Point Unit (FPU) instructions for mathematical and trigonometric operations.

asm's People

Contributors

mmtmn 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.