Skip to main content

ARM Architecture and Programming

  • Chapter
  • First Online:
Embedded and Real-Time Operating Systems

Abstract

This chapter covers the ARM architecture, ARM instructions, ARM programming and development of programs for execution on ARM virtual machines. These include ARM processor modes, register banks in different modes, instructions and basic programming in ARM assembly. It introduces the ARM toolchain under Ubuntu (15.10) Linux and emulated ARM virtual machines under QEMU. It shows how to use the ARM toolchain to develop programs for execution on the ARM Versatilepb virtual machine by a series of programming examples. It explains the function call convention in C and shows how to interface assembly code with C programs. Then it develops a simple UART driver for I/O on serial ports, and a LCD driver for displaying both graphic images and text. It also shows the implementation of a generic printf() function for formatted printing to output devices that support the basic print char operation.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to K. C. Wang .

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this chapter

Cite this chapter

Wang, K.C. (2017). ARM Architecture and Programming. In: Embedded and Real-Time Operating Systems. Springer, Cham. https://doi.org/10.1007/978-3-319-51517-5_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-51517-5_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-51516-8

  • Online ISBN: 978-3-319-51517-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics