home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,644 of 2,753   
   George Neuner to All   
   Re: Guidelines for instruction set desig   
   03 May 09 17:15:01   
   
   From: gneuner2@comcast.net   
      
   On Thu, 30 Apr 2009 09:25:33 -0700 (PDT), cyril.cressent@gmail.com   
   wrote:   
      
   >I was wondering if there are some general guidelines one should   
   >observe when designing an instruction set so that a C compiler can   
   >easily be ported to that CPU.   
   >I'm asking because I'm having a hard time porting LCC with the current   
   >instruction set of our custom CPU.   
   >   
   >I can provide more information on our current instruction set if it   
   >helps you answer my question, though I don't think it's revelant here.   
      
   C has been implemented on most architectures (with varying degrees of   
   effort) ... everything from stack machines to accumulator machines to   
   general register sets.   
      
   It would be helpful to have some details on the ISA and the C features   
   that are giving you trouble.   
      
   George   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca