Structured programming
Abstract
This chapter introduces the concepts of structured programming and explains how those concepts can be used in assembly programming. Loops and if-then-else structures are described and demonstrated. Next, the AArch64 function call conventions are explained. It explains and demonstrates how the stack is used for passing arguments, temporary storage, and automatic variables. The chapter also explains how to perform recursion in Assembly Language, and ends by showing how to access the fields in a C and how to access data in an array.
Keywords
Sequencing; Selection; Iteration; Subroutines; Aggregate data types; ...
Get ARM 64-Bit Assembly Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.