Introduction to Holtek C Compiler V3
This document serves as a Frequently Asked Questions (FAQ) guide for the Holtek C Compiler V3. It provides essential information for users who already possess basic C programming skills and familiarity with MCU datasheets. The guide addresses the evolution of the compiler, detailing version release dates and specific feature enhancements introduced in updates from V3.10 to V3.59.
The main syntax differences between V3 and V2 are absolute address variables, interrupt syntax, and integrated assembler.
V3 supports global variable initialization, larger const variable sizes (up to 64 pages), multi-dimensional arrays, and the ability for ISRs to call functions.
Use the correct interrupt grammar: void __attribute__((interrupt(0x04))) Int_isr() {} instead of #pragma vector.