ARM VERSION 1.2 Arkusz Danych

Przeglądaj online lub pobierz Arkusz Danych dla Podręczniki do oprogramowania ARM VERSION 1.2. ARM VERSION 1.2 Datasheet Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 276
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - Developer Suite

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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,

Strona 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

Strona 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

Strona 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

Strona 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),

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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_

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 24

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

Strona 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

Strona 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,

Strona 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

Strona 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

Strona 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

Strona 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 */

Strona 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

Strona 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

Strona 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

Strona 34

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

Strona 35

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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_

Strona 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

Strona 43

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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-

Strona 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()

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 93

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 110

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

Strona 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

Strona 112

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 120

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

Strona 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)

Strona 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(

Strona 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:

Strona 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

Strona 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 |

Strona 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

Strona 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

Strona 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

Strona 129

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

Strona 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

Strona 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,

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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.

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 147

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

Strona 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

Strona 149

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

Strona 150

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

Strona 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

Strona 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

Strona 153

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 159

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

Strona 160

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

Strona 161

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 167

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

Strona 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

Strona 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

Strona 170

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

Strona 171

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

Strona 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

Strona 173

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

Strona 174

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

Strona 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

Strona 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

Strona 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

Strona 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,

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 184

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

Strona 185

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

Strona 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

Strona 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

Strona 188

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

Strona 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

Strona 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

Strona 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

Strona 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-

Strona 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

Strona 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

Strona 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

Strona 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

Strona 197

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

Strona 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

Strona 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

Strona 200 - -fpu softvfp

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

Strona 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

Strona 202

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

Strona 203

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 211

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

Strona 212

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

Strona 213

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 222 - 5.4 The math library, mathlib

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

Strona 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

Strona 224

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

Strona 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

Strona 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:•

Strona 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

Strona 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

Strona 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

Strona 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

Strona 231

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

Strona 232

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

Strona 233

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

Strona 234 - 0x00000001

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

Strona 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

Strona 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

Strona 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

Strona 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.

Strona 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

Strona 240

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

Strona 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

Strona 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

Strona 243

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

Strona 244

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

Strona 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

Strona 246

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

Strona 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

Strona 248

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

Strona 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

Strona 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

Strona 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;

Strona 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

Strona 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++

Strona 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

Strona 255

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

Strona 256

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

Strona 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

Strona 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,

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 266

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

Strona 267

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 276

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

Komentarze do niniejszej Instrukcji

Brak uwag