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.
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.
| Supported CPU | 6502, 65C02, 65C02 Protel |
|---|---|
| Function libraries | 97 common libraries |
| Floating-point support | IEEE compatible |
| Banked memory | Supported |
| Interrupts in C | Supported |
| Optimization selection | Code or speed optimization |
| Expression stack default | 32 bytes (0x20) |
| Interrupt expression stack default | 4 bytes (0x04) |
| Processor stack default | 256 bytes (0x100) |
| Recursion stack default | 256 bytes (0x100) |
| Default speed optimization level | 3 (-s) |
| Default size optimization level | 3 (-z) |
It supports 6502, 65C02, and 65C02 Protel targets.
The compiler includes 97 common function libraries.
No; only one of speed or size optimization can be selected.
Expression stack is 32 bytes, interrupt expression stack is 4 bytes, and processor and recursion stacks are 256 bytes each.