L
L
lexaxaxa2015-02-08 09:44:55
Iron
lexaxaxa, 2015-02-08 09:44:55

What is the (assembler) code for a mini assembler program that translates a MOV mnemonic with some operands into machine instructions (ia-32,wind7)?

What is the (assembler) code for a mini assembler program that translates a MOV mnemonic with some operands into machine instructions (ia-32,windows7)? Interested in assembler commands for creating .OBJ files and writing machine instructions into them. I ask for a specific minimum translator code in order to understand the formation of object files from the inside in general.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2015-02-08
@gbg

The object file is a personal matter of the compiler, this format is not standardized [clarification based on the results of comments - there is no global standard. For GCC, for example, this is ELF, for MSVS - COFF. Thanks jcmvbkbc ]. If you want to make program files, the simplest format - com - works in dos and windows up to XP. Further, the PE format (extension exe, dll and others) - for dos and windows and the ELF format for linux. To understand the format, start by writing a program in a high-level language.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question