This document is Copyright 1994 ARM Ltd, and has been included on this disc with their kind permission. This manual is supplied "as is"; ARM Limited ("ARM") makes no warranty, express or implied, of the merchantability of this document or its fitness for any particular purpose. In no circumstances shall ARM be liable for any damage, loss of profits, or any indirect or consequential loss arising out of the use of these recipes or inability to use these recipes, even if ARM has been advised of the possibility of such loss. --------------------------------------------------------------------------- 1.0 About This Manual ~~~~~~~~~~~~~~~~~~~~~ This manual is aimed at competent programmers who want to find out rapidly how to exploit the ARM instruction set and make use of the ARM Software Development Toolkit (the toolkit). Where possible, we have given real recipes, supported by on-line code explained and available for you to adapt to your particular needs. You will easily recognise where we have created recipes purely for pedagogic purposes. A broad spectrum of topics is covered in this volume, from introductory illustrations through to complex examples. However, the material has not been grouped or ordered by complexity, but by theme, into four areas of interest: features of the ARM instruction set (see "ARM Instruction Set and Processor Features" starting on page 6). exploring ARM Assembly Language by example (see "Exploring ARM Assembly Language" starting on page 20). interfacing C and ARM Assembly Language (see "Interfacing Assembly Language and C" starting on page 62). programming in C with the ARM Software Development Toolkit (see "Programming in C" starting on page 76). To get the most out of the recipes, this manual should used in conjunction with the on-line examples, as well as the rest of the toolkit documentation. The user is sometimes referred to other parts of the documentation for more information. It is also likely to be useful to have a copy of the ARM Datasheet for whatever device is being used, as these manuals do not cover device specific details. This is the first release of the Cookbook, and we know it's only partly complete. Nonetheless, we hope you'll like what is in place, and that you'll send us your suggestions for further topics.