answersLogoWhite

0


Best Answer

An exe is machine code and machine code is written entirely in binary. No conversion is necessary.

A hex-editor is the simplest way to view the binary code. The code will be shown in hexadecimal rather than binary, however this actually makes it much easier for humans to interpret the binary code because the conversion from hex to binary is so simple. Each hex digit represents a unique 4-bit binary pattern:

0x0 = 0000

0x1 = 0001

0x2 = 0010

0x3 = 0011

0x4 = 0100

0x5 = 0101

0x6 = 0110

0x7 = 0111

0x8 = 1000

0x9 = 1001

0xA = 1010

0xB = 1011

0xC = 1100

0xD = 1101

0xE= 1110

0xF = 1111

Thus the hex value 0x9A translates directly to the 8-bit binary value 10011010. That is, 8 binary digits reduce to just 2 hex digits and therefore makes it much easier for humans to interpret the binary value.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you convert exe to binary?
Write your answer...
Submit
Still have questions?
magnify glass
imp