PD ISO/IEC TR 18037:2008
Current
The latest, up-to-date edition.
Programming languages. C. Extensions to support embedded processors
Hardcopy , PDF
English
08-31-2008
FOREWORD
INTRODUCTION
1 SCOPE
2 REFERENCES
3 CONFORMANCE
4 FIXED-POINT ARITHMETIC
4.1 Overview and principles of the fixed-point data types
4.2 Detailed changes to ISO/IEC 9899:1999
5 NAMED ADDRESS SPACES AND NAMED-REGISTER STORAGE CLASSES
5.1 Overview and principles of named address spaces
5.2 Overview and principles of named-register storage classes
5.3 Detailed changes to ISO/IEC 9899:1999
6 BASIC I/O HARDWARE ADDRESSING
6.1 Rationale
6.2 Terminology
6.3 Basic I/O Hardware addressing header
6.4 Specifying I/O registers
6.5 Detailed changes to ISO/IEC 9899:1999
ANNEX A - FIXED-POINT ARITHMETIC
A.1 Fixed-point datatypes
A.2 Number of data bits in _Fract versus _Accum
A.3 Possible Data Type Implementations
A.4 Overflow and Rounding
A.5 Type conversions, usual arithmetic conversions
A.6 Operations involving fixed-point types
A.7 Exception for 1 and -1 Multiplication Results
A.8 Linguistic Variables and unsigned _Fract: an example
of unsigned fixed-point
ANNEX B - NAMED ADDRESS SPACES AND NAMED-REGISTER STORAGE CLASSES
B.1 Embedded systems extended memory support
ANNEX C - IMPLEMENTING THE
C.1 General
C.2 Overview of I/O Hardware Connection Options
C.3 I/O-register designators for different I/O addressing
methods
C.4 Atomic operation
C.5 Read-modify-write operations and multi-addressing cases
C.6 I/O initialization
C.7 Intrinsic Features for I/O Hardware Access
ANNEX D - MIGRATION PATH FOR
D.1 Migration path for
D.2
ANNEX E - FUNCTIONALITY NOT INCLUDED IN THIS TECHNICAL REPORT
E.1 Circular buffers
E.2 Complex data types
E.3 Consideration of BCD data types for Embedded Systems
E.4 Modwrap overflow
ANNEX F - C++ COMPATIBILITY AND MIGRATION ISSUES
F.1 Fixed-point Arithmetic
F.2 Multiple Address Spaces Support
F.3 Basic I/O Hardware Addressing
Provides a series of extensions of the programming language C (as specified by ISO/IEC 9899:1999) to support features commonly found in embedded processors.
Committee |
IST/5
|
DevelopmentNote |
Supersedes 03/313450 DC. (11/2004)
|
DocumentType |
Standard
|
Pages |
110
|
PublisherName |
British Standards Institution
|
Status |
Current
|
Supersedes |
This Technical Report specifies a series of extensions of the programming language C, which is specified by ISO/IEC9899:1999. These extensions support embedded processors.
Each clause in this Technical Report deals with a specific topic. The first subclauses of clauses4, 5 and 6 contain a technical description of the features of the topic. These subclauses provide an overview but do not contain all the fine details. The last subclause of each clause contains the editorial changes to the standard necessary to fully specify the topic in the standard, and thereby provides a complete definition. Additional explanation and rationale are provided in the Annexes.
Standards | Relationship |
ISO/IEC TR 18037:2008 | Identical |
ISO/IEC 9899:2011 | Information technology Programming languages C |
Access your standards online with a subscription
Features
-
Simple online access to standards, technical information and regulations.
-
Critical updates of standards and customisable alerts and notifications.
-
Multi-user online standards collection: secure, flexible and cost effective.