About 50 results
Open links in new tab
  1. How to write hello world in assembly under Windows?

    I wanted to write something basic in assembly under Windows. I'm using NASM, but I can't get anything working. How do I write and compile a hello world program without the help of C functions on Wi...

  2. Assembly code vs Machine code vs Object code? - Stack Overflow

    Jan 21, 2009 · What is the difference between object code, machine code and assembly code? Can you give a visual example of their difference?

  3. While, Do While, For loops in Assembly Language (emu8086)

    Feb 23, 2015 · Assuming you know how to implement comparisons and conditional jumps in assembly already, rewrite the code using if and goto first and/or create a flowchart.

  4. Writing functions in x86 assembly with NASM - Stack Overflow

    I am writing code in assembly (NASM) and I want to include functions. At the moment I have: function0: code jmp return0 The function is called with a jump to function0 with the return linking to a

  5. How is Assembly used in the modern day (with C/C++ for example)?

    Oct 5, 2010 · Often, the assembly written by a beginner-to-medium assembly programmer will be slower than the final machine code generated by a good, modern optimizing compiler. Performance stuff on …

  6. ARM assembly loop - Stack Overflow

    Aug 16, 2012 · Assuming this high level language doesn't have anything conflicting with C, you can use an arm C compiler to create assembly code from your snippet. For example if you have the following …

  7. Using Assembly Language in C/C++ - Stack Overflow

    The only time it's useful to revert to assembly language is when the CPU instructions don't have functional equivalents in C++ (e.g. single-instruction-multiple-data instructions, BCD or decimal …

  8. c - RISC-V inline assembly - Stack Overflow

    Dec 7, 2022 · I'm quite new to inline assembly, so I need your help to be sure that I use it correctly. I need to add assembly code inside my C code that is compiled with the Risc-v toolchain.

  9. x86 - Assembly - JG/JNLE/JL/JNGE after CMP - Stack Overflow

    Mar 8, 2012 · I assume this only exists in a made up example to get you to break down the flag-setting and flag-reading without any of the normal semantic meaning to help you figure out what it does. …

  10. How to run assembly code. I have it in a text file but I don't know how ...

    Apr 15, 2019 · I have assembly code in a text file and I don't know how to run it. I wish you can help me with detailed explanation. Thank you