If your lab keeps all the orignal 51 opcodes, you don't have to do anything.  If your lab adds opcodes, sdcc just won't use the new instructions.  But if your labs makes changes to hardware registers (sfr), those changes can be accounted for by creating your own special header file which you will include in any firmware you write for your private 51 device.
Good Luck,
Jeff Stout
----- Original Message -----
From: donald
To: donald
Cc: sdcc-user@lists.sourceforge.net
Sent: Thursday, February 24, 2011 11:29 AM
Subject: Re: [Sdcc-user] porting question

ps:My lab has made  some changes for standard 8051 architecture.I think I should make some modifications for  the original 51 source code.But I have no idea about doing it.
Could u give some advices to me? Or to provide some information to me about porting?

At 2011-02-20 12:45:03"" <tangtao87657560@126.com> wrote:
    I am a newbie for SDCC.
    I'm trying to port SDCC to a new architecture 8051.I want to konw which  files in the sdcc source have to be changed?
    Thanks for help!

Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev

Sdcc-user mailing list