Other HI-TECH Compilers & Products >> Other HI-TECH Compilers & Products

Mark Pappin

***

Reged: Nov 01 2004
Posts: 599
Loc: Brisbane, Australia
Re: why? about hi-tech c for HT
      Mon Nov 05 2007 09:32 PM

Quote:

: 0: (800) undefined symbol "_delay"
why?


Our PRO compilers with OCG (of which the HOLTEK compiler is one) do very aggressive dead-code elimination and if a C function or variable is not accessed from within C code it will probably not exist in the output. Unless you've got a very good reason to do so, you should not try to do stuff with inline assembly code that can much more easily be done in C.

By The Way, you should also avoid using #asm / #endasm close to C flow-control constructs like for, while, if, etc., as recommended in the manual.

--------------------
Mark Pappin - HI-TECH Software

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* why? about hi-tech c for HT hua_wind Mon Nov 05 2007 08:14 PM
. * * Re: why? about hi-tech c for HT C.J. Prins   Tue Nov 06 2007 03:04 AM
. * * Re: why? about hi-tech c for HT Mark Pappin   Mon Nov 05 2007 09:32 PM
. * * Re: why? about hi-tech c for HT hua_wind   Tue Nov 06 2007 08:45 PM
. * * Re: why? about hi-tech c for HT hua_wind   Mon Nov 05 2007 09:40 PM
. * * Re: why? about hi-tech c for HT hua_wind   Mon Nov 05 2007 10:01 PM
. * * Re: why? about hi-tech c for HT Dan HenryModerator   Mon Nov 05 2007 08:26 PM

Extra information
0 registered and 2 anonymous users are browsing this forum.

Moderator:  ndouglas, jtemples, Dan Henry, Andrew L, mikerj, dave g, meisty, josh stevo 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating:
Thread views: 3992

Rate this thread

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5