Sebastian Theophil
Passive ARM Assembly Skills for Debugging, Optimization (and Hacking)
#1about 2 minutes
Core concepts of ARM assembly language
Assembly language consists of instructions and operands like registers, immediate values, memory addresses, and labels.
#2about 2 minutes
Overview of ARM CPU architecture and memory
Modern ARM CPUs like the Apple M1 feature numerous 64-bit registers and a multi-level cache system to mitigate slow main memory access.
#3about 3 minutes
Implementing a Fibonacci sequence loop in assembly
A practical example demonstrates basic ARM instructions like MOV, ADD, SUB, CMP, and B.NE for arithmetic and control flow.
#4about 3 minutes
Comparing handwritten assembly to optimized compiler output
The compiler often generates more efficient code than a direct translation, such as converting an incrementing for-loop into a decrementing counter.
#5about 4 minutes
Managing local variables using the stack
The stack provides fast, temporary memory for local variables, managed by the stack pointer (SP) and accessed with store (STR) and load (LDR) instructions.
#6about 4 minutes
How function calls work in ARM assembly
Function calls use the Branch and Link (BL) instruction, which saves the return address in the link register (X30) and transfers control.
#7about 2 minutes
The ARM procedure call standard and ABI
The Application Binary Interface (ABI) defines strict rules for register usage, including which registers pass arguments, return values, and must be saved by the caller or callee.
#8about 4 minutes
Loading 64-bit pointers with 32-bit instructions
ARM uses a two-step process with ADRP and ADD instructions to load a full 64-bit address by first getting the memory page and then the offset within it.
Related jobs
Jobs that call for the skills explored in this talk.
Dennemeyer Group
Hesperange, Luxembourg
Intermediate
Senior
.NET
Structured Query Language (SQL)
Sunhat
Köln, Germany
Remote
€85-115K
Senior
Team Leadership
Software Architecture
+1
Matching moments
05:55 MIN
The security risks of AI-generated code and slopsquatting
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
06:28 MIN
Using AI agents to modernize legacy COBOL systems
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
04:09 MIN
The emerging market for fixing AI-generated code
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
14:14 MIN
Scripting presentations and demos in VS Code
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
11:10 MIN
The only frontend stack that truly matters
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
Featured Partners
Related Videos
Unleashing the Full Potential of the Arm Architecture – Write Once, Deploy Anywhere
Andrew Waafa
WebAssembly: Disassembled
Stefan Schöberl
Programming secure C#/.NET Applications: Dos & Don'ts
Sebastian Leuer
C++ Features You Might Not Know
Jonathan Müller
101 brilliant things of C++
Andreas Fertig
Wasm Deep Dive - A Glance Behind the Scenes
Rainer Stropek
Talk to the Duck - Secrets of the Debugging Masters
Shai Almog
Making Sense of Programming Languages
Aleksandra Sikora
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.




Arm Limited
Cambridge, United Kingdom
£48K
Senior
ARM
Perl
VHDL
Linux
+3

Arm
Canton de Valbonne, France
ARM
C++
Unix
Ruby
Scripting (Bash/Python/Go/Ruby)


Barcelona Supercomputing Center
Barcelona, Spain


Arm Limited
ARM
CSS
Perl
Python
Scripting (Bash/Python/Go/Ruby)