About 54 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. Difference between: Opcode, byte code, mnemonics, machine code …

    Jul 14, 2013 · Assembly: There are two "assemblies" - one assembly program is a sequence of mnemonics and operands that are fed to an "assembler" which "assembles" the mnemonics and …

  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 does assembly code get compiled and run? - Stack Overflow

    Jul 29, 2022 · I saw assembly code that was supposed to create a boot sector in assembly. The code was: jmp $ times 510 - ($ - $$) db 0 db 0x55, 0xaa All is fine, but the first line is suppoused to create …

  6. How do you get assembler output from C/C++ source in GCC?

    Sep 26, 2008 · For useful compiler options to use in that case, see How to remove "noise" from GCC/clang assembly output? (or just look at your code on Matt Godbolt's online Compiler Explorer …

  7. What does OFFSET in 16 bit assembly code mean? - Stack Overflow

    I am going through some example assembly code for 16-bit real mode. I've come across the lines: mov bx, cs mov ds, bx mov si, OFFSET value1 pop es mov di, OFFSET

  8. What is the difference between native code, machine code and …

    Aug 8, 2018 · Assembly code has two meanings: one is the machine code translated into a more human-readable form (with the bytes for the instructions translated into short wordlike mnemonics …

  9. assembly - Difference between JE/JNE and JZ/JNZ - Stack Overflow

    Jan 10, 2013 · In x86 assembly code, are JE and JNE exactly the same as JZ and JNZ?

  10. x86 - assembly to compare two numbers - Stack Overflow

    Jul 14, 2009 · 23 What is the assembler syntax to determine which of two numbers is greater? What is the lower level (machine code) for it? Can we go even lower? Once we get to the bit level, what …