|
- Calling a standard-library-function in MASM - Stack Overflow
Calling Convention Bug in your MASM Code You can read about the CDECL calling convention for 32-bit Windows code in the Microsoft documentation as well as this Wiki article Microsoft summarizes the CDECL calling convention as: On x86 platforms, all arguments are widened to 32 bits when they are passed
- assembly - ASM: MASM, NASM, FASM? - Stack Overflow
MASM (Microsoft Assembler) is the popular assembler for Windows MASM is for 16-bit and 32-bit applications (x86) ML64 is the one for 64 bit sources (AMD64 x86-64) NASM (Netwide Assembler) is the popular assembler for Linux but is available on Windows too NASM supports 16-bit, 32 bit and 64 bit programs FASM (Flat Assembler) is available for both Windows and Linux FASM too supports both 32
- declaration of constant strings in x86 assembly language
The "standard" MASM syntax for declaring a constant string is: VarName DB "String Contents",0 This declares an array of bytes (db == d eclare b yte) with the symbolic name VarName The contents of that array are given by the value enclosed in quotation marks ("String Contents"), and the array is terminated by a NUL character (0) Obviously, what this gives you is a standard C-style NUL
- assembly - MASM NASM Differences - Stack Overflow
What are the syntax differences between the NASM and MASM assemblers?
- How does 32-bit MASM mode differ from 64-bit? - Stack Overflow
32-bit MASM had a choice between 16-bit and 32-bit executables, depending on the directives This is not the case when building 64-bit code, so fewer directives are relevant The x86-64 ISA guarantees that PPro instructions are supported so there's no need to enable them (Same for SSE SSE2) The fact that your code is running in 64-bit mode means they're available, just like 386 features
- assembly - Print hello in 64-bit masm - Stack Overflow
I want to write a program to show hello in 64-bit masm I use VS code with ml64 exe and gcc The following is what I write: ;; file name: hello asm printf proto data messenge dq "hello", 0 code main proc sub rsp, 40h mov rcx, messenge call printf add rsp, 40h ret main endp end And I write a script to assemble, link ,and execute: @:: file name
- Using printf scanf in X64 MASM - Stack Overflow
This MASM X64 comes out of a textbook I can't get it to compile in Visual Studio I have written and compiled MASM X32 programs with printf scanf successfully with Visual Studio I cannot tell i
- Assembly difference between TASM and MASM - Stack Overflow
I am learning TASM at University, but information regarding TASM on the web seems to be very limited I have found more information on MASM My question is, what is the different between MASM and
|
|
|