home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.95 / text0522.txt < prev    next >
Encoding:
Text File  |  1996-03-31  |  1.9 KB  |  56 lines

  1.     by arthur.cs.purdue.edu (8.6.10/PURDUE_CS-1.3) with ESMTP
  2.     id <KAA03070>; Sat, 22 Apr 1995 10:18:59 -0500
  3. Received: (huntercr@localhost)
  4.     by lab11.cs.purdue.edu (8.6.10/PURDUE_CS-1.3)
  5.     id <KAA02543>; Sat, 22 Apr 1995 10:18:56 -0500
  6. From: huntercr@cs.purdue.edu (Charles Hunter)
  7. Message-Id: <199504221518.KAA02543@lab11.cs.purdue.edu>
  8. Subject: Little endian to big endian and vice versa...
  9. To: executor@nacm.com (Executor mailing list),
  10.         DJGPP@sun.soe.clarkson.edu (djgpp mailing list)
  11. Date: Sat, 22 Apr 1995 10:18:55 -0500 (EST)
  12. Cc: huntercr@cs.purdue.edu (Charles Randolph Hunter)
  13. X-Mailer: ELM [version 2.4 PL24alpha3]
  14. MIME-Version: 1.0
  15. Content-Type: text/plain; charset=US-ASCII
  16. Content-Transfer-Encoding: 7bit
  17. Content-Length: 1102      
  18. Sender: owner-executor@nacm.com
  19. Precedence: bulk
  20.  
  21.  
  22. Hi gang,
  23.  
  24. I know that this is inappropriate to post on either of these lists, but
  25. I hear it talked about so often that I thought I might ask here.
  26.  
  27. I am working on a project that will convert simple binaries across
  28. two platforms and or back again. This is similar to a program 
  29. I picked up called, "86to68", which converts 8086 asm to 68000 asm.
  30. I am attempting to do this from the assembled [binary ] 
  31. level. Sort of a re-assembler. Things are working out well, but I have
  32. been ignoring, until now, the endian difference.
  33.  
  34. My question is: What patterns should the program look for? What kind
  35. of strategy should the program use to check?
  36. I'll admit, I am a little  ignorant on the subject. 
  37. Can this be swapped statically at all? 
  38. If so, Should I execute the program internally and tag all references to 
  39. 16+bit  data?  
  40. If not... am I going to have to add a swap routine to every
  41. program that is reassembled?  I'm confused. 8-)
  42.  
  43. Right now, I am only implementing a 2 pass dissasemble that 
  44. does nothing with what appears to be dataspace.
  45.  
  46.  
  47. Mat? Cliff? DJ? anyone???
  48.  
  49.         Help! 
  50.  
  51.             --Charles Hunter
  52.  
  53.  
  54.  
  55.  
  56.