Holtek C Compiler V3 Software FAQ

This document is a FAQ about Holtek C Compiler V3. It introduces the new features of V3, the differences between V3 and V2, and the special syntax and usage of V3.


Holtek C Compiler V3 Software FAQ - cover page
Brand
Holtek
Category
Programming
Document type
Other
Language
English
Pages
29
File format
PDF
File size
1.1 MB
Published
07 November, 2023
Updated
07 November, 2023
MD5 checksum
1690B6F08052C73DDB473AC34C6CB844

About this manual

The Holtek C Compiler V3 FAQ is revision V1.80, dated September 13, 2021. It assumes the reader knows how to write C programs and has read and understood the target MCU datasheet.

The document covers V3 introduction, differences between V3 and V2, special syntax and usage, common errors and warnings with solutions, common questions, optimization problems, and fixes for known compiler problems.

What's inside

  • V3 Introduction
  • Differences between V3 and V2
  • Special syntax and usage of V3
  • Common errors, warnings and solutions in V3
  • Common questions and solutions in V3
  • Common optimization problems in V3
  • Fixing the Known Problems in C Compiler

Specifications

Latest compiler version listedV3.59
Latest IDE version listedHT-IDE30008.04
Unsupported MCU conditionMP register width less than 8 bits
Extended instruction prefixletter ‘L’

Frequently asked questions

Which MCUs are not supported by the V3 compiler?

V3 does not support MCUs whose MP register width is less than 8 bits.

How do you write an interrupt function in V3?

Use the interrupt attribute form, for example void __attribute((interrupt(0x04))) Int_isr() {}.

What are the syntax differences between V3 and V2?

The differences are absolute address variables, interrupt syntax and integrated assembler.

Download PDF (1.1 MB)

More Holtek Manuals


View all Holtek manuals →