Skip to Content
Modern Assembly Language Programming with the ARM Processor
book

Modern Assembly Language Programming with the ARM Processor

by Larry D Pyeatt
May 2016
Intermediate to advanced
504 pages
12h 11m
English
Newnes
Content preview from Modern Assembly Language Programming with the ARM Processor
Chapter 6

Abstract Data Types

Abstract

This chapter extends the coverage of structured programming to include abstract data types (ADT). It begins by giving the definition of an abstract data type and giving a small example of an ADT that could be used to read, process, and write Netpbm images. The next section introduces an ADT written in C to perform word frequency counts, and shows how performance can be greatly improved by using better algorithms and/or by writing some functions in assembly language. It also shows how a binary tree structure created by C code can be traversed in assembly language. The chapter ends with a ethics module about the Therac-25 cancer treatment device.

Keywords

Abstract data type; Word frequency count; Binary ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Raspberry Pi Assembly Language Programming: ARM Processor Coding

Raspberry Pi Assembly Language Programming: ARM Processor Coding

Stephen Smith

Publisher Resources

ISBN: 9780128037164