You could use #ORG and inline assembly, but #RESERVE 0x00:0x02 might be easier depending on what you're trying to do. I'm not the expert, though, you'll find those on the CCS message forum on their web site. 8-) Dale -- "Curiosity is the very basis of education and if you tell me that curiosity killed the cat, I say only the cat died nobly." - Arnold Edinborough On Thu, 7 Feb 2002, Orbit Communications wrote: > The following code snippet is used to relocate the start of code from 000H to 0003H in Hi-Tech C. > > Can this same code be used for CCS compiler ? > Thanks in advance for your response. > > #asm > > psect powerup, class=CODE, delta=2 > > global powerup, start > > powerup: > > org 0x3 > > goto start > > #endasm > > > > Best Regards > > David Huisman > ----------------------------------------------------------------------- > ORBIT COMMUNICATIONS > Reliable Wireless Solutions (Telemetry, Control, Monitoring ...) > Website : http://www.orbitcoms.com > PO Box 3469 Tuggerah > NSW 2259, AUSTRALIA > Phone: 61-2-4329-7765 > Fax : 61-2-4329-7893 > Mobile: 61-413-715-986 > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads