You should be able to find a disassembler for the processor type which will give you the code is assembler. You will then have to work through the assembler code to understand exactly what it is doing. You will then have to write the program in "C" It is very unlikely that your "C" program will compile to give exactly the same hex file when compiled but you should be able to get it to function in the same way. I did this for a PIC16F876 except for converting it to "C". (I find "C" very difficult compared with assembler.) It took me a few months to disassemble it and modify it to run on a PIC18F2525.
i have no idea ( i asked company they dont know too. cause the eprom used in 1970s or 1980s ..
If you don't know which processor the code in the EPROM is for then you have no chance of disassembling it. Can you not identify the processor in the unit it was removed from ?
Well if you don't know what the processor is, then presumably you don't know what the hardware is either?, so you haven't much hope of disassembling it.
Assuming you can identify the processor, then you should be able to find a dis-assembler for it, and generate crude assembler source code.
I included a dis-assembler in PicProg and WinPicProg, long ago, but PIC assembler been RISC is fairly easy to dis-assemble.
As it's such an old EPROM (and the fact it's an EPROM at all) it's probably for a micro-processor rather than a micro-controller, but there's a vast number of processor options - Z80 might be worth trying?.
As others have said, you can't generate C code from it, and it probably wasn't written in C anyway depending how old it is?
What are you trying to do anyway?
i need to get that information inside of EPROM. the company which was using it , they said how to get code inside of it.. i made all of steps and i got hex code . now need to convert it assembler or etc .
by the way : i really liked your web site . i tried your software and it didnt work. cause there was no M2732A .
If you post the first 16 hex values then someone may recognize which processor it belongs to.
:20040000383838383838282828282828282A2A2A2A2A2A2B2B2B2B2B2B2B2B2B2B23232361 :200420002323232323232323232323232323232323232323232323232323232323030303BC :2004400038383838383838382828282A2A2A2A2A2A2A2A2A2A2A2B2B2B2B23232323232318