Sitronix IAR-C Compiler Reference Manual

Sitronix IAR-C is a C programming tool that conforms to the ANSI C standard, supports 65C02 CPU, allows for specifying registers and I/O variables, supports code and speed optimization, and supports BANK memory segmentation mode.


Sitronix IAR-C Compiler Reference Manual - cover page
Brand
Sitronix
Category
Other software
Document type
Programming Manual
Language
Chinese
Pages
17
File format
PDF
File size
234 KB
Published
14 January, 2012
Updated
28 September, 2023
MD5 checksum
0F118EA8E1B8EDF0A4D3246D6017C9A3

About this manual

This manual describes the Sitronix IAR-C compiler for 6502 and 65C02 targets. It covers ANSI C support, 97 common function libraries, banked memory modes, interrupt handling in C, and code or speed optimization.

It also documents XCL hardware definition files, compiler parameters, data type ranges, default stack sizes, IAR-C specific keywords, and #pragma directives, with examples of generated assembler output. This manual is written in Chinese.

What's inside

  • Features
  • Program Execution Flow
  • C Library Definition
  • XCL Hardware Definition File Analysis
  • Compiler Parameters
  • Data Type Representation
  • IAR-C Specific Definitions
  • #PRAGMA Definitions
  • Example 2

Specifications

Supported CPU6502, 65C02, 65C02 Protel
Function libraries97 common libraries
Floating-point supportIEEE compatible
Banked memorySupported
Interrupts in CSupported
Optimization selectionCode or speed optimization
Expression stack default32 bytes (0x20)
Interrupt expression stack default4 bytes (0x04)
Processor stack default256 bytes (0x100)
Recursion stack default256 bytes (0x100)
Default speed optimization level3 (-s)
Default size optimization level3 (-z)

Frequently asked questions

Which CPUs does Sitronix IAR-C support?

It supports 6502, 65C02, and 65C02 Protel targets.

How many common function libraries are included?

The compiler includes 97 common function libraries.

Can speed and size optimization be used together?

No; only one of speed or size optimization can be selected.

What are the default stack sizes?

Expression stack is 32 bytes, interrupt expression stack is 4 bytes, and processor and recursion stacks are 256 bytes each.

Download PDF (234 KB)

More Sitronix Manuals


View all Sitronix manuals →