From what I understand, a compiler makes a binary file that consists of 1's and 0's that a CPU can read. I have a binary file but how do I open it to see the 1's and 0's that are there? A text editor says it can't open it...P.S. I have an assembly compiled binary that should be plain binary code of 1's and 0's?
How to view a binary file?
binary;assembly
hexdump -C yourfile.bin perhaps, unless you want to edit it of course. Most linux distros have hexdump by default (but obviously not all).Updatexxd does both binary and hexadecimalFor bin :xxd -b fileFor hex :xxd file