News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

example from masm64

Started by RBator, January 18, 2011, 09:48:06 PM

Previous topic - Next topic

RBator

ml64[/options]filelist[/link linkoptions]

how ought be  typical example for assembly and linking ?

niceday
RBator

GregL

RBator,

It's not much different than assembling and linking with ml.exe.


ml64.exe /c program.asm
link.exe /SUBSYSTEM:CONSOLE program.obj


If you are looking for example programs look around in this subforum.

RBator

Thank You

how can i disassembly in masm64 ?

GregL


  • WinDbg (Windows Debugging Tools).
  • Visual C++ 2010 Express debugger.

RBator

#4
give me any example .In WinDBg and visual C++ .
is masm64 compatible with visual c++ 2010 ?

Thank You

GregL

Quote from: RBatorgive me any example .In WinDBg and visual C++ .
In either case, just load the .exe that has been assembled and linked for Debug.

ML64: Use /Zi
LINK: Use /DEBUG

ML and ML64 Command-Line Reference
Linker Options

An example:
http://www.masm32.com/board/index.php?topic=10880.0

Quote from: RBatoris masm64 compatible with visual c++ 2010 ?
Yes, that's where it comes from.  It comes in the Windows SDK too.


Rockoon

Debugging is not the same as disassembling.

I dont think that there is a good 64-bit aware disassembler yet... certainly nothing as advanced as the great BlackIce from the 16-bit DOS days.
When C++ compilers can be coerced to emit rcl and rcr, I *might* consider using one.

donkey

Smidgeon's PEBrowse Pro is 64 bit aware but isn't really a "great" disassembler however it does the trick in a pinch.

http://www.smidgeonsoft.prohosting.com/pebrowse-pro-file-viewer.html

Both the 32 bit and 64 bit versions can disassemble 64 bit code. Its heuristics are fairly primitive, it has issues distinguishing between data and code, though it does make an effort it's easy to trick, but then so is OllyDbg. It does do an excellent job of following code though.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

GregL

Quote from: RockoonDebugging is not the same as disassembling.

I dont think that there is a good 64-bit aware disassembler yet... certainly nothing as advanced as the great BlackIce from the 16-bit DOS days.

Visual Studio 2010 and WinDbg will both produce a pretty decent 64-bit disassembly.  I guess it just depends on how advanced you want to get with it.