"Fossies" - the Fresh Open Source Software Archive

Member "dmd2/man/man1/obj2asm.1" (20 Nov 2020, 1301 Bytes) of package /linux/misc/dmd.2.094.2.linux.tar.xz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

OBJ2ASM

name
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
BUGS
AUTHOR
SEE ALSO

name

obj2asm − Digital Mars .OBJ file disassembler

SYNOPSIS

obj2asm [-l] [-o] [-x] objfile [srcfile] [-c[outfile[.cod]]]

DESCRIPTION

obj2asm disassembles object (.o) files in Intel OMF, Microsoft COFF format, or linux ELF format.

OPTIONS

-l

Omit code labels in the assembly language file it generates.

-o

Emit object code for each assembly language instruction.

-x

Emit code segment offset for each instruction.

objfile

The object to disassemble.

srcfile

Use this if the source file name embedded in the object file is missing or incorrect.

-c[outfile[.cod]]

Writes output to outfile instead of the standard output. The default extension for outfile is .cod.

EXAMPLE

To see the code generated by compiling test.cpp, use the following commands:

dmd -c -g test
obj2asm test.o

BUGS

Although the output of obj2asm is in MASM format, it usually requires a little editing before MASM will accept it.

AUTHOR

Written by Walter Bright www.digitalmars.com/ctg/obj2asm.html

Copyright (C) Digital Mars 2000-2003. All Rights Reserved.

SEE ALSO

dmd(1)