home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6952 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: tomtec.abg.sub.org!judas
  2. From: judas@tomtec.abg.sub.org (Th.Huber)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re:  680X0 -> PPC translator?
  5. Distribution: world
  6. Message-ID: <judas.0j7o@tomtec.abg.sub.org>
  7. References:  <volker.0g32@vb.franken.de> <315C198B.49C2@netvision.net.il> <volker.0g5w@vb.franken.de> <1996Apr2.230841.8275@scala.scala.com> <volker.0g8b@vb.franken.de>
  8. Date: 5 Apr 96 21:19:45 MET
  9.  
  10. In article <volker.0g8b@vb.franken.de> volker@vb.franken.de (Volker Barthelmann) writes:
  11. >Dave Haynie (dave.haynie@scala.com) wrote:
  12.  
  13. >But that's not what we were talking about! We were talking about a static
  14. >and complete translation of 68k to PPC before it is executed.
  15.  
  16. Which is defenitly NOT possible. You`re not able to decide, what part
  17. of a 68k-programm is used for data and what`s used for c0de.
  18. As the c0de will differ in size after the translation, you run
  19. into big big trouble.
  20.  
  21. >: The AmigaOS and the 680x0 don't support self-modifying code.
  22.  
  23. But real dirty c00der can do it anyway .. =)
  24.  
  25. >I was not talking of self-modifying code there. Only the address of the
  26. >code is modified and copied around, but a static translator would have
  27. >to know where the jump goes to in order to decide what's code.
  28.  
  29. Yep, that`s your prob. There`s lot of data within a code-hunk.
  30. A translater won`t be able to decide, whether a longword is used
  31. as a counter, or as a table for jumps, or even c0de itself.
  32.  
  33.  
  34. >: So basically, stop the arguments, I'm offering an existance proof.
  35. >
  36. >Not for static translators.
  37.  
  38. A proof must be a 100%-translation, not kind of a "neuronal network",
  39. that makes the best guess.....
  40.