masm Questions
1
Solved
I am porting a function from inline assembly to MASM in Visual Studio 2013 and am having trouble getting a return value out of it.
Here is the C caller and the assembly function prototype:
exter...
Desberg asked 9/12, 2014 at 19:18
2
Solved
I am new to StackOverflow. Recently, I began studying assembly and am fairly new to assembly, completely new to shellcode. I am using RadAsm to compile using MASM assembler and I tried studying she...
1
Solved
In a simple program written for Microsoft's x64 assembler, I want to move a 64-bit value between an SSE register (say xmm0) and a general-purpose register (say rcx), as in <Intel syntax in MASM&...
Graze asked 16/7, 2014 at 19:44
1
Solved
I am trying to get to grips with MASM32 and am confused by the following:
I thought that brackets were used for indirection so if I have the a pre-defined variable
.data
item dd 42
then
mo...
1
Solved
I'm to write a macro that takes E,NE,A,B... as a parameter and a single command i.e mov eax,ebx which would execute if the condition set by a preceding cmp operation is true.
An example call woul...
3
Solved
Contents
Intro
Code
Assembling and Running
Miscellaneous
Question
1. Intro
This isn't a question per se (though there is one at the bottom) but a HelloWorld app for people on StackOverflow to...
1
I have the following MASM code:
.386
.model flat, stdcall
option casemap :none
include \masm32\include\masm32rt.inc
.data
NewLine db 13, 10, 0
.code
LibMain proc instance:dword,reason:dword,un...
Pistole asked 18/12, 2012 at 19:26
3
Solved
I've just begun learning some x86 assembly on win32, and I've used masm with visual studio 2008 using the custom build rule that comes with the ide for .asm files. I've been trying to use the DOS i...
2
Solved
In x86 assembly language, is it possible to specify a jump to a specific line number? Here, I'm trying to use the jmp instruction to the line number 3. (I don't yet know of a way to pass a label as...
2
Solved
I am using Visual C++ 2010, and MASM as my x64-Assembler.
This is my C++ code:
// include directive
#include "stdafx.h"
// functions
extern "C" int Asm();
extern "C" int (convention) sum(int x, i...
Leven asked 24/2, 2013 at 1:40
3
Solved
The short description:
Setting a breakpoint on the first line of my .CODE segment in an assembly program will not halt execution of the program.
The question:
What about Visual Studio's debugger...
Octaviaoctavian asked 26/10, 2012 at 2:45
2
Solved
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 ...
1
1
Solved
2
Solved
1
Solved
I am multiplying 3 numbers which works good even with a carry. I want to add a 4th number to multiply just for learning purposes.
After i multiply 3 numbers i shift into EDX and print. Works great...
2
Solved
I noticed that in Assembly segments are used in opcodes.
Example:
MOV DWORD PTR SS:[EBP-30],30
I think that "PTR SS:" is used to specify that EBP-30 comes from the stack? (SS: stack segment)
Am...
Erastus asked 30/5, 2012 at 16:59
2
Solved
I'm trying to make a program that gets two input numbers, multiplies them (storing the result in a variable), divides them (storing the result in another variable) and prints the result.
The issu...
1
Solved
3
Solved
What should I choose NASM or MASM for learning assembly. I want to learn assembly, motivation being Reverse Engineering.
So that when I disassemble some executable, I can understand the code...
Dashpot asked 30/3, 2012 at 23:13
1
Solved
I'm learning assembly, motivation being able to reverse engineer. I'm trying to find the assembler I should begin with, so that I can then find tutorials and start writing some assembly.
I c...
Goldeneye asked 30/3, 2012 at 13:42
3
Solved
I am learning assembly language in my spare time to become a better developer.
I understand the difference between stack-based machines and register-based machines at a conceptual level, but I am ...
1
Solved
2
Solved
I'm trying to inject a 64 Bit DLL into 64 Bit Process (explorer for the matter).
I've tried using Remote-thread\Window Hooks techniques but some Anti-Viruses detects my loader as a false positive.
...
Paraboloid asked 7/3, 2012 at 18:51
3
Solved
How can I detect at compile time from an ASM source file if the target architecture is I386 or AMD64?
I am using masm(ml.exe)/masm64(ml64.exe) to assemble file32.asm and file64.asm. It would be ni...
Tampere asked 7/4, 2010 at 20:8
© 2022 - 2024 — McMap. All rights reserved.