Maker Pro
Maker Pro

How to create a HEX file for 8085 processor along with 2732A eprom

KrisBlueNZ

Sadly passed away in 2015
Nov 28, 2011
8,393
Joined
Nov 28, 2011
Messages
8,393
If you have a listing file that includes the output data, but not a binary image or a hex file, you can create a binary or hex file by copying and pasting the output data together (and for a hex file, calculating line checksums).

A few lines from a typical assembler listing could be something like this:
Code:
1234: 56 78     mov  a,78
1236: 43 21     mov  b,21
1238: 24 68     mov  c,68
A line that generates output data consists of an output address, one or more bytes of output data, and the source line (instruction mnemonic, opcode, comments etc). You need to take the output data and construct a hex file from it.

I assume you'll be using an Intel hex file. Have a read of https://en.wikipedia.org/wiki/Intel_HEX to learn how the hex file is structured. It's pretty straightforward but you will need to calculate the line checksums by hand.
 

Allen Bong

Dec 5, 2014
4
Joined
Dec 5, 2014
Messages
4
I am really surprised that someone still uses the 8085 to do a project. And I am more surprised to see that the chip is still available on eBay for $9 a pop.

Wouldn't it be easier to use 8051, then the hardware would be simpler without using the 8255 and the 4K EPROM?

Allen
 

KrisBlueNZ

Sadly passed away in 2015
Nov 28, 2011
8,393
Joined
Nov 28, 2011
Messages
8,393
Wouldn't it be easier to use 8051, then the hardware would be simpler without using the 8255 and the 4K EPROM?
He may not have written the code himself and he may not be able to translate it from the 8085 to the 8051 architecture. They are quite different you know.

The 8051 doesn't have the resources that the 8085 has. It cannot address RAM directly using direct 16-bit addresses and multiple pointer registers the way the 8085 can. Major redesign would probably be needed to convert the code to run on the 8051.
 
Top