Questions tagged [binary-files]

158 questions
6
votes
1 answer

What is a 8086 relocatable?

I'm running some Fortran software (LBLRTM) and a shell-script that prepares input generates a number of files with names TAPE3, TAPE4, etc. For debugging purposes, I used file to identify the file type. file tells me: TAPE3: 8086 relocatable…
gerrit
  • 1,618
3
votes
1 answer

How to strip/remove/cut Zero/Null-Bytes off a file

Given: A generic binary file and a block size Desired output: A copy of the binary file where all the blocks that contain only Zero-Bits/Bytes have been removed/stripped from the file I really wonder why I cannot find a tool that does this simple…
2
votes
1 answer

Can you write binary opcodes directly in a text file, and then will they be directly fetched by CPU like that?

I can not fivd any sources explaining how tp write direct opcodes for ISA to work on CPU. Not Assembly, opcodes directly or "machine code".
2
votes
2 answers

How are numbers greater than 255 denoted in binary?

The binary value for 255 is 11111111, with all of the memory locations used up. How can greater numbers, for example, 481 be denoted? Will they be written singularly, like (considering the above example), 00110100 00111000 00110001?
1
vote
2 answers

If binary is 0 and 1 why do i see something like \x8c\x8e\xfc\r\xc3\x8a in binary files and programs?

whenever i try to open a binary file like an image or exe program i dont see 0 and 1 i just see some stuff like \x00\x8fi>\x9f\xd2\x98\x16\ How is that binary data ? …
0
votes
0 answers

What is the difference between .mbin and .bin?

I got a .mbin file this morning. As a newbie and just out of curiosity, is there any difference between .mbin and .bin? If no, is that OK to swap .mbin with .bin in file name? If yes, what are the commonly used binary file extensions? Where can I…
Pen2
  • 1
0
votes
1 answer

How to open a file in binary format.(1's & 0's)

I want to open files in binary format. I want to see binary code, not hex. And want to edit in binary format and ability to save changes. What is the best application to do this or is there any easy way to do this ?
Trax
  • 265