Skip to main content

Reading and Understanding Code

  • Chapter
  • First Online:
Raspberry Pi Assembly Language Programming
  • 2033 Accesses

Abstract

We’ve now learned quite a bit of ARM 32-bit Assembly language; one of the things we can do is read another programmer’s code. Reading other programmer’s code is a great way to add to our toolkit of tips and tricks and improve our own coding. We’ll review some places where you can find Assembly source code for the ARM 32. Then we’ll look at how the GNU C compiler writes Assembly code and how we can analyze it. We’ll look at the NSA’s Ghidra hacking tool that can convert Assembly code back into C code—at least approximately.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.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

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Stephen Smith

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Smith, S. (2019). Reading and Understanding Code. In: Raspberry Pi Assembly Language Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5287-1_14

Download citation

Publish with us

Policies and ethics