Microware C Compiler

Manuals and User Guides for Microware C Compiler. We found 1 manuals for free downloads User's Guide

Below you will find brief information for C Compiler. This User's Guide is a comprehensive guide to the OS-9 C compiler, providing detailed information about the compiler's features, extensions and how to use it effectively. It covers various topics, including data representation, storage requirements, embedded assembly language, error handling, and maximizing program performance.

Key Features

  • Direct storage class for faster access to memory

  • Embedded assembly language for code optimization

  • Extended escape sequences for control characters

  • Support for OS-9 system calls and standard library

  • Run-time arithmetic error handling

  • Optimizer pass for code optimization

  • Profiler for performance analysis

Pages: 140 Microware C Compiler User's Guide

Brand: Microware Category: Software Size: 1 MB

Languages: English

Table of contents

Open manual

Frequently Answers and Questions

How to use the "direct" storage class in the C compiler?

The "direct" storage class is used for placing variables in the direct page, which allows the 6809 processor to access them with fast, two byte instructions. To declare a direct variable, you can use the "direct" keyword in place of other storage class specifiers, such as "auto", "static", or "extern". For example, "direct int variable;" declares an integer variable named "variable" in the direct page.

How can I embed assembly language code in my C program?

You can embed assembly language code in your C program using the "#asm" and "#endasm" directives. Lines between these directives are passed directly to the assembly output. Ensure you use the correct code section, typically "PSECT (code)" for normal C code and "VSECT (variable)" for assembly code that accesses variables, and use an "ENDSECT" directive to leave the state correct for following compiler-generated code.

What are the differences between the OS-9 C compiler and the K&R specification?

The OS-9 C compiler is a faithful implementation of the K&R specification, but there are some differences due to obsolete features and memory size limitations. Bit fields are not supported, and constant expressions in initializers are limited to arithmetic operators when all operands are INT or CHAR. Additionally, the older forms of assignment operators like "=+=" are not supported, and the escape sequence \n represents a carriage return.

advertisement