V
V
voproser456542022-02-28 23:35:03
C++ / C#
voproser45654, 2022-02-28 23:35:03

How does disassembly work in C++?

1. Are C++ codes compiled first into assembler or immediately into exe/elf?
2. Is the result of disassembling a C++ program the result of the work of an assembler or machine codes?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2022-02-28
@voproser45654

Assembler = machine code, at least they match 1-to-1

1. Are C++ codes compiled first into assembler or immediately into exe/elf?

Most compilers first compile to some intermediate representation, and then to exe / elf / dll / etc.
2. Is the result of disassembling a C++ program the result of the work of an assembler or machine codes?

Obviously: the result of disassembly is the result of the disassembler.

K
Konstantin Tsvetkov, 2022-03-01
@tsklab

the smallest file size you can put hello world
You need COM .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question