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

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: 680X0 -> PPC translator?
  5. Date: 8 Mar 1996 11:45:34 +0100
  6. Organization: dis-
  7. Message-ID: <4hp34e$cng@serpens.rhein.de>
  8. References: <1190.6631T892T581@und.ida.liu.se> <Ronald.07ii@noblehouse.xs4all.nl> <31355992.58CD@afrodite.kih.no> <313D36C8.72B7@sapiens.com> <volker.0fq1@vb.franken.de>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. volker@vb.franken.de (Volker Barthelmann) writes:
  12.  
  13. >Just a little example:
  14.  
  15. >    pea     4
  16. >    jsr     _malloc
  17. >    addq.w  #4,a7
  18. >    move.l  d0,a0
  19. >    ...
  20. >    move.l  label,(a0)
  21. >    ...
  22.  
  23. >label
  24. >    moveq   #100,d0
  25. >    rts
  26.  
  27. >How are You going to translate this into PPC-Code (and notie that PPC
  28. >instructions are at least 32 bits long)?
  29.  
  30.  
  31. Buggy code doesn't have to work with such a translation.
  32.  
  33.  
  34. -- 
  35.                                 Michael van Elst
  36.  
  37. Internet: mlelstv@serpens.rhein.de
  38.                                 "A potential Snark may lurk in every tree."
  39.