Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-14-2005, 21:44
redbull redbull is offline
Friend
 
Join Date: Mar 2004
Posts: 160
Rept. Given: 17
Rept. Rcvd 5 Times in 4 Posts
Thanks Given: 3
Thanks Rcvd at 6 Times in 6 Posts
redbull Reputation: 5
Hi Doug,

Agreed but the point is to actually make it right now.. My existing code generator works well and now I want to take it to the next level.


Here are some interesting arictles on this topic:

hxxp://compilers.iecc.com/comparch/article/97-05-281

hxxp://compilers.iecc.com/comparch/article/00-10-073

hxxp://compilers.iecc.com/crenshaw/

hxxp://www.pcengines.ch/tp3.htm

hxxp://www.etek.chalmers.se/~e8johan/compiler/

Quote:
Generating instructions with variable length addresses is a well understood
problem. The PDP-11 Unix assembler did it in about 1973, and there was
a paper by Tom Szymanski in the CACM about that time. I always preferred
the other approach, start with everything long, then shorten until there's
nothing left to shorten, which has the advantage of being fail-safe, all
of the intermediate stages being valid code. -John
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating the size in bytes of a C++ function yaa General Discussion 8 11-07-2007 09:15
opcode generator johnq General Discussion 4 01-02-2004 07:11


All times are GMT +8. The time now is 02:19.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )