sub: informasation about how to use hex file in java programming.

     We are doing our projectwork on developing 8051 simulator using java
programing. During the work we need to open a intel hex file (.obj) and use
hex number for making decisions. 

please give proper direction to overcome our problem. 


===================#####====================

The intel hex file format is given below:

:05000000743E2494226F
:00000001FF

This is the format of an Intel hex file produced by a suitable
assembler. This code is often downloaded from a PC to a development system
and run from RAM. Alternatively, the hex file can be converted to a binary
file and programmed into an EPROM.


Now look at the top line...

   * The first character (:) indicates the start of a record.
   * The next two characters indicate the record length (hex number 10h in
this case).
   * The next four characters give the load address (0080h in this case).
   * The next two characters indicate the record type (see below).
   * Then we have the actual data.
   * The last two characters are a checksum (sum of all bytes + checksum =
     00).

The last line of the file is special, and will always look like that above.

Record types:

   * 00 - Data record
   * 01 - End of file record
   * 02 - Extended segment address record
   * 03 - Start segment address record
   * 04 - Extended linear address record
   * 05 - Start linear address record



Regards, 
Parikshit Kadam

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe
! in the body.

Reply via email to