ARM VERSION 1.2 Datenblatt

Stöbern Sie online oder laden Sie Datenblatt nach Software-Handbücher ARM VERSION 1.2 herunter. ARM VERSION 1.2 Datasheet Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 276
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - Developer Suite

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067DARM® Developer SuiteVersion 1.2Compilers and Libraries Guide

Seite 2 - ARM Developer Suite

Preface x Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DARM publicationsThis book contains reference information that is specif

Seite 3 - Contents

The C and C++ Libraries 4-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DThe functions listed in Table 4-3 depend indirectly

Seite 4

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-11Use the linker symbol table and cross reference list

Seite 5

The C and C++ Libraries 4-12 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DIf you are re-implementing a function that exists in

Seite 6

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-134.3 Building an application without the C libraryCre

Seite 7 - • Feedback on page xii

The C and C++ Libraries 4-14 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D• Ensure that your initialization veneer is executed

Seite 8 - About this book

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-15Program designThe functions you must re-implement de

Seite 9

The C and C++ Libraries 4-16 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DUsing high-level functionsHigh-level I/O functions,

Seite 10 - Preface

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-17fenv.hFunctions in this file work without the requir

Seite 11

The C and C++ Libraries 4-18 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dmath.hFunctions in this file work without the requir

Seite 12 - Feedback

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-19• The remove() and rename() functions are system-spe

Seite 13 - Introduction

Preface ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. xiThe following book describes the C++ language:• ISO/IEC 14882:1998(E),

Seite 14

The C and C++ Libraries 4-20 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.4 Tailoring the C library to a new execution envir

Seite 15

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-212. Calls __rt_lib_init() to initialize referenced li

Seite 16

The C and C++ Libraries 4-22 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.4.2 Exiting from the programThe program can exit n

Seite 17 - 1.3 Linking compiled objects

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-23The default implementation of __rt_entry:1. Sets up

Seite 18 - 1.4 Related utilities

The C and C++ Libraries 4-24 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DSyntaxextern value_in_regs struct __argc_argv __rt_

Seite 19 - C and C++ Compilers

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-254.5 Tailoring static data accessThis section describ

Seite 20

The C and C++ Libraries 4-26 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.6 Tailoring locale and CTYPEThis section describes

Seite 21

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-27ImplementationTo select an ISO8859-1 (Latin-1 alphab

Seite 22 - 2.2 File usage

The C and C++ Libraries 4-28 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.6.2 Selecting locale at run timeThe C library func

Seite 23

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-29All locale blocks for a category are collected into

Seite 24

Preface xii Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DFeedbackARM Limited welcomes feedback on both ADS and the documentati

Seite 25

The C and C++ Libraries 4-30 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DUsing the macrosThe data blocks for a single locale

Seite 26

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-31 __C, __C, __C, __C, __C, __C, __C, __C, __C,

Seite 27 - 2.3 Command syntax

The C and C++ Libraries 4-32 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D * - 0xc0-0xdf are uppercase chars except times

Seite 28

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-33Each element gives the position in the collation seq

Seite 29

The C and C++ Libraries 4-34 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D 0x9c, /* n - then 1 n variant */ 0x9e, /* o

Seite 30

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-35 0xac, /* u grave */ 0xad, /* u acute */

Seite 31

The C and C++ Libraries 4-36 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DExample 4-6 LC_MONETARY_DEF__LC_MONETARY_DEF(lcmonet

Seite 32

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-374.6.7 _get_lc_numeric()_get_lc_numeric() must return

Seite 33

The C and C++ Libraries 4-38 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.6.8 _get_lc_time()_get_lc_time() must return a poi

Seite 34

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-39 strftime(timestr, sizeof(timestr), "%c"

Seite 35

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 1-1Chapter 1 IntroductionThis chapter introduces the ARM compilers, libraries, l

Seite 36

The C and C++ Libraries 4-40 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.6.10 localeconv()localeconv() creates and sets the

Seite 37

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-414.6.11 setlocale()Selects the appropriate locale as

Seite 38

The C and C++ Libraries 4-42 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DIf category is LC_ALL and the most recent successful

Seite 39

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-43Note Because the compiler optimizes the data segment

Seite 40

The C and C++ Libraries 4-44 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.6.15 __LC_TIME_DEFThis macro is used to create blo

Seite 41 - Debug table format options

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-45UsageSee _get_lc_time() on page 4-38. See also __LC_

Seite 42

The C and C++ Libraries 4-46 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.6.16 __LC_NUMERIC_DEFThis macro is used to create

Seite 43

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-47 + (~3 & (3

Seite 44

The C and C++ Libraries 4-48 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.6.18 __LC_INDEX_ENDThis macro is used to declare t

Seite 45

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-49 char *mon_grouping; /* A string whose elemen

Seite 46 - Example 2-1 Double and float

Introduction 1-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D1.1 About the compilers and librariesADS consists of a suite of

Seite 47

The C and C++ Libraries 4-50 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DThe value of p_sign_posn and n_sign_posn are interpr

Seite 48

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-514.7 Tailoring error signaling, error handling, and p

Seite 49

The C and C++ Libraries 4-52 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.7.1 _sys_exit()The library exit function. All exit

Seite 50

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-53ReturnsThe default implementation is a veneer on __u

Seite 51

The C and C++ Libraries 4-54 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D0 The signal was handled.nonzero The calling code

Seite 52

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-55void __default_signal_handler(int signal, int argume

Seite 53

The C and C++ Libraries 4-56 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.7.7 _ttywrch()This function writes a character to

Seite 54

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-574.8 Tailoring storage managementThis section describ

Seite 55

The C and C++ Libraries 4-58 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DThis implementation has low overheads, but the cost

Seite 56

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-59• your memory model can supply a block of memory at

Seite 57 - ARM Compiler Reference

Introduction ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 1-31.2 The ARM compilers and librariesThis section gives an overvie

Seite 58 - #pragma [no_]feature-name

The C and C++ Libraries 4-60 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.8.2 Creating your own storage-management systemYou

Seite 59

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-614.8.3 __Heap_DescriptorYou must define your own impl

Seite 60

The C and C++ Libraries 4-62 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.8.4 __Heap_Initialize()Initializes the heap.Syntax

Seite 61 - Example 3-1 Section naming

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-634.8.6 __Heap_ProvideMemory()Called to increase the s

Seite 62

The C and C++ Libraries 4-64 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.8.8 __Heap_Free()Returns previously allocated spac

Seite 63

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-654.8.10 __Heap_Stats()Called from __heapstats() to pr

Seite 64

The C and C++ Libraries 4-66 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.8.12 __Heap_Full()Attempts to acquire a new block

Seite 65

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-674.9 Tailoring the runtime memory modelThis section d

Seite 66

The C and C++ Libraries 4-68 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.9.2 Controlling the runtime memory modelThe behavi

Seite 67

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-694.9.4 __user_initial_stackheap()Returns the location

Seite 68

Introduction 1-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D1.2.2 The C and C++ librariesADS provides the following runtime

Seite 69

The C and C++ Libraries 4-70 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DReturnsThe values returned in r0 to r3 depend on whe

Seite 70 - Example 3-3 Packed structure

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-71Syntax__value_in_regs struct __heap_extent __user_he

Seite 71

The C and C++ Libraries 4-72 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dpreserve any other registers. On entry to this funct

Seite 72 - 3.2 Language extensions

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-734.9.10 __rt_heap_extend()This function returns a new

Seite 73

The C and C++ Libraries 4-74 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.9.11 __rt_stack_postlongjmp()This function sets sp

Seite 74

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-754.10 Tailoring the input/output functionsThe higher-

Seite 75 - Example 3-5 External access

The C and C++ Libraries 4-76 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dprintf familyThe printf family consists of _printf()

Seite 76 - Example 3-7 Compiler error

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-77{ /* Your implementation of ferror */ retur

Seite 77

The C and C++ Libraries 4-78 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.10.2 Target-dependent input/output support functio

Seite 78

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-794.10.3 _sys_open()This function opens a file.SyntaxF

Seite 79

Introduction ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 1-51.3 Linking compiled objectsThe ARM and Thumb linker combines th

Seite 80

The C and C++ Libraries 4-80 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.10.5 _sys_read()This function reads the contents o

Seite 81

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-814.10.6 _sys_write()Writes the contents of a buffer t

Seite 82

The C and C++ Libraries 4-82 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.10.7 _sys_ensure()This function flushes buffers as

Seite 83 - 9 10 11 12

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-834.10.9 _sys_seek()This function puts the file pointe

Seite 84

The C and C++ Libraries 4-84 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.10.11 _sys_tmpnam()This function converts the file

Seite 85 - Bit number

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-854.11 Tailoring other C library functionsImplementati

Seite 86

The C and C++ Libraries 4-86 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.11.1 clock()This is the standard C library clock f

Seite 87 - 3.4 Predefined macros

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-874.11.3 time()This is the standard C library time() f

Seite 88

The C and C++ Libraries 4-88 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.11.5 rename()This is the standard C library rename

Seite 89

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-894.11.7 getenv()This is the standard C library getenv

Seite 90

Introduction 1-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D1.4 Related utilitiesThis section gives an overview of the utili

Seite 91 - Chapter 4

The C and C++ Libraries 4-90 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.12 Selecting real-time divisionThe division helper

Seite 92

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-914.13 ISO implementation definitionThis section descr

Seite 93

The C and C++ Libraries 4-92 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DMathematical functionsThe mathematical functions sho

Seite 94

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-93HUGE_VAL is an alias for Inf. Consult the errno vari

Seite 95 - -apcs /rwpi

The C and C++ Libraries 4-94 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DSignal functionThe signals listed in Table 4-18 are

Seite 96

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-95signal() returns an error code if you try to registe

Seite 97

The C and C++ Libraries 4-96 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D• A file can be opened many times for reading, but o

Seite 98

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-97The following characteristics, required to be specif

Seite 99

The C and C++ Libraries 4-98 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DThe most important features missing from this releas

Seite 100 - The C and C++ Libraries

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-994.14 C library extensionsThis section describes the

Seite 101 - -verbose

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-1Chapter 2 C and C++ CompilersThis chapter describes the command-line options

Seite 102

The C and C++ Libraries 4-100 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.14.2 strtoll()The strtoll() function converts a s

Seite 103

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-101The bufsize parameter specifies the number of chara

Seite 104

The C and C++ Libraries 4-102 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dalloca() must not be called through a function poin

Seite 105

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-103Example 4-20 heapstats output32272 bytes in 2 free

Seite 106

The C and C++ Libraries 4-104 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.14.11 __heapvalid()The __heapvalid() functionperf

Seite 107

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-1054.15 Library naming conventionsThe filename identif

Seite 108

The C and C++ Libraries 4-106 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dc_t__un Thumb, no stack checking, not reentrant (b

Seite 109

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-107m_t_ps Thumb, soft FPA, pure-endian, stack checkin

Seite 110

The C and C++ Libraries 4-108 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D

Seite 111

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-1Chapter 5 Floating-point SupportThis chapter describes the ARM support for fl

Seite 112

ii Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DARM Developer SuiteCompilers and Libraries GuideCopyright © 1999-2001 ARM Lim

Seite 113

C and C++ Compilers 2-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D2.1 About the C and C++ compilersWherever possible, the c

Seite 114

Floating-point Support 5-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D5.1 About floating-point supportThe ARM floating-point

Seite 115

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-35.2 The software floating-point library, fplibWhen pro

Seite 116

Floating-point Support 5-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D5.2.1 Arithmetic on numbers in a particular formatThe

Seite 117

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-55.2.2 Conversions between floats, doubles, and intsThe

Seite 118

Floating-point Support 5-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D5.2.3 Conversions between long longs and other number

Seite 119

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-75.2.4 Floating-point comparisonsThe routines in Table

Seite 120

Floating-point Support 5-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D5.3 Controlling the floating-point environmentThis sec

Seite 121

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-9• Bits 22 and 23 control the rounding mode (Table 5-5)

Seite 122 - 4.6.5 _get_lc_collate()

Floating-point Support 5-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DTo untrap the Inexact Result exception:__ieee_status(

Seite 123

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-11The fields in Figure 5-2 on page 5-10 are as follows:

Seite 124

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-32.1.2 Source language modesThe ARM compilers have three d

Seite 125 - Example 4-5 LC_COLLATE_DEF

Floating-point Support 5-12 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D__fp_status(_fpsr_IXE | _fpsr_UFE | _fpsr_OFE |

Seite 126 - Example 4-6 LC_MONETARY_DEF

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-13Note It is not guaranteed that the values of these ma

Seite 127 - Example 4-7 LC_NUMERIC_DEF

Floating-point Support 5-14 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DThe _statusfp functionThe function _statusfp returns

Seite 128 - must return a pointer to a

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-15The exception macros are bit fields. The macro FE_ALL

Seite 129

Floating-point Support 5-16 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DThe fegetround function returns the current rounding

Seite 130

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-17Then, if the frob() function raises Underflow, it is

Seite 131

Floating-point Support 5-18 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D__softfp__ieee_value_t myhandler(__ieee_value_t op1,

Seite 132 - Example 4-9 LC_CTYPE_DEF

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-19The flags contained in edata are:•edata & FE_EX_R

Seite 133

Floating-point Support 5-20 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D•edata & FE_EX_OUTTYPE_MASK gives the type of the

Seite 134 - Example 4-12 LC_TIME_DEF

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-21When the operation is a comparison, the result must b

Seite 135

C and C++ Compilers 2-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D2.2 File usageThis section describes naming conventions a

Seite 136 - Example 4-14 LC_MONETARY_DEF

Floating-point Support 5-22 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D /* For all other invalid operations, raise SIGFPE

Seite 137

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-23__rt_raise is declared in rt_misc.h.

Seite 138 - Example 4-16 lconv structure

Floating-point Support 5-24 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D5.4 The math library, mathlibTrigonometric functions

Seite 139

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-255.4.1 Inverse hyperbolic functions (acosh, asinh, ata

Seite 140

Floating-point Support 5-26 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D5.4.5 One less than exp(x) (expm1)double expm1(double

Seite 141 - __raise()

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-275.4.9 Return the exponent of a number (ilogb)int ilog

Seite 142

Floating-point Support 5-28 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D5.4.13 Logarithm of one more than x (log1p)double log

Seite 143

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-295.4.18 Scale a number by a power of two (scalb, scalb

Seite 144

Floating-point Support 5-30 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D5.5 IEEE 754 arithmeticThe ARM floating-point environ

Seite 145

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-31Numbers stored in the above form are called normalize

Seite 146

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-5Filenames are parsed as follows:• a name starting with ho

Seite 147

Floating-point Support 5-32 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DSample valuesSome sample float and double bit pattern

Seite 148

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-33Table 5-13 Sample double-precision floating-point val

Seite 149

Floating-point Support 5-34 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D5.5.2 Arithmetic and roundingArithmetic is generally

Seite 150

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-355.5.3 ExceptionsFloating-point arithmetic operations

Seite 151 - Example 4-17 Heap_Descriptor

Floating-point Support 5-36 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DTypes of exceptionThe ARM floating-point environment

Seite 152 - Example 4-18 Heap_DescSize

Floating-point Support ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-37(For readers familiar with the IEEE 754 specification

Seite 153

Floating-point Support 5-38 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D

Seite 154

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. A-1Appendix A Via File SyntaxThis appendix describes the syntax of via files acc

Seite 155

Via File Syntax A-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DA.1 Overview of via filesVia files are plain text files that

Seite 156

Via File Syntax ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. A-3A.2 SyntaxVia files must conform to the following syntax rule

Seite 157

C and C++ Compilers 2-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D2.2.2 Included filesSeveral factors affect the way the AR

Seite 158 - __user_libspace()

Via File Syntax A-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D• Lines beginning with a semicolon (;) or a hash (#) characte

Seite 159

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. B-1Appendix B Standard C Implementation Definition This appendix gives informati

Seite 160

Standard C Implementation Definition B-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DB.1 Implementation definitionAppendix G

Seite 161

Standard C Implementation Definition ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. B-3B.1.1 TranslationDiagnostic messages pro

Seite 162 - __rt_stack_overflow_return

Standard C Implementation Definition B-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DInteractive deviceIn an unhosted impleme

Seite 163 - __user_heap_extend()

Standard C Implementation Definition ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. B-5>>& filename This appends bot

Seite 164

Standard C Implementation Definition B-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D• whether a plain int bitfield is treate

Seite 165

Standard C Implementation Definition ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. B-7B.1.12 StatementsThe number of case valu

Seite 166

Standard C Implementation Definition B-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DB.1.14 Library functionsThe ANSI C libra

Seite 167

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. C-1Appendix C Standard C++ Implementation DefinitionThe majority of the language

Seite 168 - _sys_open()

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-7The original current place install_directory\include is r

Seite 169

Standard C++ Implementation Definition C-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DC.1 EC++ supportARM C++ supports all f

Seite 170

Standard C++ Implementation Definition ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. C-3C.2 Integral conversionDuring integral

Seite 171

Standard C++ Implementation Definition C-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DC.3 Calling a pure virtual functionIf

Seite 172 - so that

Standard C++ Implementation Definition ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. C-5C.4 Minor features of language support

Seite 173

Standard C++ Implementation Definition C-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dtypename keyword Yes.Member templates

Seite 174

Standard C++ Implementation Definition ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. C-7C.5 Major features of language support

Seite 175 - _clock_init()

Standard C++ Implementation Definition C-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DC.6 Standard C++ library implementatio

Seite 176

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. D-1Appendix D C and C++ Compiler Implementation LimitsThis appendix list the imp

Seite 177

C and C++ Compiler Implementation Limits D-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DD.1 C++ ISO/IEC standard limitsThe I

Seite 178

C and C++ Compiler Implementation Limits ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. D-3Case labels for a switch statement,

Seite 179

C and C++ Compilers 2-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DThe search pathTable 2-2 shows how the various command-li

Seite 180

C and C++ Compiler Implementation Limits D-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DD.2 Internal limitsIn addition to th

Seite 181

C and C++ Compiler Implementation Limits ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. D-5D.3 Limits for integral numbersTable

Seite 182 - Mathematical functions

C and C++ Compiler Implementation Limits D-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DD.4 Limits for floating-point number

Seite 183

C and C++ Compiler Implementation Limits ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. D-7DBL_MIN_10_EXPMinimum value of base

Seite 184

C and C++ Compiler Implementation Limits D-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D

Seite 185

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. Glossary-1GlossaryADS See ARM Developer Suite.ANSI American National Standards I

Seite 186 - Error Message

Glossary Glossary-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DCoprocessor An additional processor which is used for certain

Seite 187

Glossary ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. Glossary-3Inline Functions that are repeated in code each time they are

Seite 188

Glossary Glossary-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DScatter-loading Assigning the address and grouping of code an

Seite 189 - 4.14 C library extensions

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. Index-1IndexAabort() 4-22, 4-91, 4-96Access control error 2-37acosh function

Seite 190

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-92.3 Command syntaxThis section describes the command synt

Seite 191

IndexIndex-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DB__backspace() 4-10, 4-15, 4-76Base classes 3-27Berkeley UNIXsea

Seite 192

IndexARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. Index-3-Wg 2-32-Wi 2-32-Wk 2-27-Wl 2-33-Wm 2-33-Wn 2-33-Wo 2-

Seite 193 - Example 4-20 heapstats output

IndexIndex-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DFferror() 4-10, 4-15, 4-76fgetc() 4-10, 4-15, 4-76fgets() 4-10

Seite 194

IndexARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. Index-5__Heap_Stats() 4-65__Heap_Valid() 4-65Help compiler option 2-1

Seite 195

IndexIndex-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DNatural alignment, C and C++ 3-23New array, C++ C-5New style cas

Seite 196 - -fpu none

IndexARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. Index-7C++ 2-3EC++ 2-3strict 2-14strict ANSI C 2-14Specifyingadditi

Seite 197

IndexIndex-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dimplicit conversion 2-33implicit narrowing cast 2-33implicit ret

Seite 198

C and C++ Compilers 2-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Ddebug-optionsThis specifies whether or not debug tables

Seite 199 - Floating-point Support

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-11Specifying keyboard inputUse minus – as the source filen

Seite 200 - -fpu softvfp

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. iiiContentsARM Developer Suite Compilers and Libraries GuidePrefaceAbout this bo

Seite 201

C and C++ Compilers 2-12 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D2.3.2 Procedure Call Standard optionsThis section applie

Seite 202

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-13Position independence qualifiers/noropiThis option gener

Seite 203

C and C++ Compilers 2-14 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DStack checking qualifiers/noswstackcheckThis option uses

Seite 204

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-15armcpp -ansiCompiles normal ANSI standard C (C mode of C

Seite 205

C and C++ Compilers 2-16 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DYou can also use the -o option to specify a filefor the

Seite 206 - R RRR VFPVFP

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-172.3.6 Specifying output format By default, source files

Seite 207

C and C++ Compilers 2-18 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D-fiThis option is used with -list to list the lines from

Seite 208 - FPA onlyR R R

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-19the current directory, where file.c is the name of the s

Seite 209

C and C++ Compilers 2-20 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D• Use only a single processor or architecture name with

Seite 210

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-21Valid options are:none Selects no floating-point option

Seite 211

Contentsiv Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DChapter 4 The C and C++ Libraries4.1 About the runtime libraries ...

Seite 212

C and C++ Compilers 2-22 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dsoftvfp Selects software floating-point library (FPLib)

Seite 213

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-23Debug table format optionsThe following option specifies

Seite 214

C and C++ Compilers 2-24 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D2.3.9 Controlling code generation Use the options descri

Seite 215

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-25while (expression) body;as:if (expression) {do body;whil

Seite 216

C and C++ Compilers 2-26 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D-OautoinlineThis option enables automatic inlining. It i

Seite 217 - Flag Operand type

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-27Note Using this option increases code size and decrease

Seite 218

C and C++ Compilers 2-28 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DNote This behavior is not in accordance with the ANSI C

Seite 219

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-29to place a function at a particular address in memory. I

Seite 220

C and C++ Compilers 2-30 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D-S22The memory cannot store halfwords. You can use this

Seite 221 - is declared in

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-312.3.10 Controlling warning messagesThe compiler issues w

Seite 222 - 5.4 The math library, mathlib

ContentsARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. vGlossary

Seite 223

C and C++ Compilers 2-32 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D• specifying char, short, float, or enum arguments to va

Seite 224

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-33C2621W: double constant automatically converted to float

Seite 225

C and C++ Compilers 2-34 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dstruct Base { virtual void f(); };struct Derived : Base

Seite 226

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-35By default, unused declaration warnings are given for:•

Seite 227

C and C++ Compilers 2-36 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dint f(int i) {return (int)i;} // Warning: explicit cast

Seite 228 - 5.5 IEEE 754 arithmetic

C and C++ Compilers ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-372.3.12 Controlling error messagesThe compiler issues err

Seite 229 - Exp Frac

C and C++ Compilers 2-38 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D-EcThis option suppresses all implicit cast errors, such

Seite 230 - Some sample

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-1Chapter 3 ARM Compiler ReferenceThis chapter gives information on ARM-specifi

Seite 231

ARM Compiler Reference 3-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D3.1 Compiler-specific featuresThis section describes t

Seite 232

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-3Pragmas controlling printf and scanf argument checking

Seite 233

Contentsvi Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D

Seite 234 - 0x00000001

ARM Compiler Reference 3-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DPragmas controlling code generationThe following pragm

Seite 235

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-5Where name is the name to use for the section and sort

Seite 236

ARM Compiler Reference 3-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D3.1.2 Function keywordsSeveral keywords tell the compi

Seite 237 - Via File Syntax

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-7__pure void (*h(void))(void); /* declares 'h&apo

Seite 238 - A.1 Overview of via files

ARM Compiler Reference 3-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dreal_numIs the value passed in r12 to the SWI handler.

Seite 239 - A.2 Syntax

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-9__inline int f(int x) {return x*5+1;}int g(int x, int

Seite 240

ARM Compiler Reference 3-10 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DStandard keywordsThese keywords declare a storage cla

Seite 241 - Appendix B

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-11number (for example, r4). In C, global register varia

Seite 242 - B.1 Implementation definition

ARM Compiler Reference 3-12 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D• A global register variable maps to a callee-saved r

Seite 243

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-13Note The ARM-Thumb Procedure Call Standard requires

Seite 244

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. viiPrefaceThis preface introduces the ARM Developer Suite (ADS) tools and refere

Seite 245

ARM Compiler Reference 3-14 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DExample 3-2 Pointer to packed__packed int *pThere are

Seite 246

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-15volatile The standard ANSI qualifier volatile informs

Seite 247 - #include <stdio.h>

ARM Compiler Reference 3-16 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D3.2 Language extensionsThis section describes the lan

Seite 248

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-17IdentifiersThe $ character is a legal character in id

Seite 249 - Appendix C

ARM Compiler Reference 3-18 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DInline assemblerThe ARM C++ compilers support the syn

Seite 250 - C.1 EC++ support

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-19Hexadecimal floating-point constantsARM implements an

Seite 251 - C.2 Integral conversion

ARM Compiler Reference 3-20 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DExample 3-6 Linkage specificationextern const int z;

Seite 252

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-213.3 C and C++ implementation details This section des

Seite 253

ARM Compiler Reference 3-22 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D• In C all character constants have type int. In C++

Seite 254

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-233.3.2 Basic data typesThis section gives information

Seite 255

Preface viii Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DAbout this bookThis book provides reference information for ADS. It

Seite 256

ARM Compiler Reference 3-24 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DFloatFloating-point quantities are stored in IEEE for

Seite 257 - Appendix D

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-25• Any quantity that specifies the amount of a shift i

Seite 258

ARM Compiler Reference 3-26 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D• If the pointers point to objects whose size is one,

Seite 259

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-27• all C++ structures and classes not using virtual fu

Seite 260 - D.2 Internal limits

ARM Compiler Reference 3-28 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DPacked structuresA packed structure is one where the

Seite 261

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-29struct X { int x:10; int y:20; int z:5;};The

Seite 262

ARM Compiler Reference 3-30 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067Dstruct X { int x:10; char y:8; int z:5;}The

Seite 263

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-313.4 Predefined macrosTable 3-4 lists the macro names

Seite 264

ARM Compiler Reference 3-32 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D__OPTIMISE_TIME– If -Otime in use.__prettyfunc__name

Seite 265 - Glossary

ARM Compiler Reference ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 3-33__TARGET_FEATURE_HALFWORD– If the target architecture

Seite 266

Preface ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. ixAppendix C Standard C++ Implementation Definition Read this appendix f

Seite 267

ARM Compiler Reference 3-34 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D

Seite 268

ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-1Chapter 4 The C and C++ LibrariesThis chapter describes the ARM C and C++ lib

Seite 269

The C and C++ Libraries 4-2 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.1 About the runtime libraries The following runtime

Seite 270

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-34.1.1 Build options and library variantsWhen you buil

Seite 271

The C and C++ Libraries 4-4 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.1.2 Library directory structureThe libraries are in

Seite 272

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-5The following points describe how static data is used

Seite 273

The C and C++ Libraries 4-6 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D4.2 Building an application with the C libraryThis se

Seite 274

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-7Using ARMulatorThe ARM instruction set simulator (ARM

Seite 275

The C and C++ Libraries 4-8 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067DImplementing your own semihosting SWI supportIt is po

Seite 276

The C and C++ Libraries ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-9Overview of semihosting dependenciesThe functions sho

Kommentare zu diesen Handbüchern

Keine Kommentare