About 2,630,000 results
Open links in new tab
  1. Any sources for learning assembly programming in Windows?

    Jun 9, 2011 · Most assembly language programming you would do, especially in a full-OS environment like Windows, will just be snippets anyway (as opposed to a 100% assembly program). The easiest way to get started is to write a C program as a test harness and have it call your assembly language functions. Here's a simple example: asm.s:

  2. if statement - How to write if-else in assembly? - Stack Overflow

    Nov 15, 2016 · To use if statement in NASM assembly first line should write: comp eax, ebx In this line NASM understands that it should compare two registers. Now u should specify how NASM assembly should compare them. Lets compare for example if greater or equal: main: comp eax, ebx jge greater_or_equal greater_or_equal: ; your code if greater or equal

  3. c - Why do you program in assembly? - Stack Overflow

    Programming certain 3D graphic cards (circa late 1990s) in the absence of APIs was often more practical and efficient in assembly language, and sometimes not possible in other languages. But again, this involved really expert-level games based on the accelerator architecture like manually moving data in and out in certain order.

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

    Oct 5, 2010 · Most of the assembly programming I do is inline in C to either optimize something, to make use of instructions that the compiler doesn't know about, or when I otherwise need to control the instructions used. Writing large amounts of code in assembly is difficult, so I let the C compiler do most of the work.

  5. Why aren't programs written in Assembly more often?

    Perhaps it is more of a matter of familiarity and knowing how to write assembly well. I also noticed that programming in assembly is quite different than programming in an HLL. Perhaps a good and experienced assembly programmer could write programs just as easily and as quickly as an experienced C programmer writing in C.

  6. Best Assembly IDE for Windows - Stack Overflow

    Aug 15, 2014 · What is the best IDE for Assembly programming in Windows? (It should work for either MASM, TASM, or NASM, although any asm will do=P). Commercial or FOSS is fine.

  7. How to write hello world in assembly under Windows?

    Jun 21, 2009 · This makes assembler programming quite easy. It is also available for Linux. This is hello.asm from the Fasm examples: include 'win32ax.inc' .code start: invoke MessageBox,HWND_DESKTOP,"Hi! I'm the example program!",invoke GetCommandLine,MB_OK invoke ExitProcess,0 .end start Fasm creates an executable:

  8. How does the stack work in assembly language?

    Feb 17, 2009 · I have only ever did most basic things in asm during my CS101 course back in 2003. And I had never really "got it" how asm and stack work until I've realized that it's all basicaly like programming in C or C++ ... but without local variables, parameters and functions. Probably doesn't sound easy yet :) Let me show you (for x86 asm with Intel ...

  9. assembly - Programming graphics in assembler? - Stack Overflow

    IF you are more interested in GFX Programming, you can wet your appetite with shadertoy, a community dedicated to shaderbased effects complete with WebGLbased Shadercode execution. Also your beginner assembler code will be pretty lame. in quality as in performance. Trust me. It needs a lot of time for optimizing such primitive code.

  10. assembly - What are the ESP and the EBP registers ... - Stack …

    Feb 12, 2014 · Understanding the stack is very crucial in programming in assembly language as this can affect the calling conventions you will be using regardless of the type. For example, even the cdecl or __stdcall is also dependent on the ESP and EBP registers, and others too in some way depend on some registers and the stack.

Refresh