RISC OS PrivateEye IntroductionToARM PhotoFiler Geminus Toolbar Site Containers GitHub Hardware iOS Optimisation Project Aha Retro Links Dump Spectrum Risc PC The Great Escape LEGO Wedding Acorn Doodle Blender 3D Isometric 2D Article Sinclair Ocean ARM TargetedOptimisation Disassembly Chase H.Q. Tip BasicOptimisation Trace Hard Disc Vector Pixel Art Groening Simpsons Futurama Disenchantment BBC Micro Electron Archimedes Slide EfficientC MotionMasks Script Python Iyonix QuickFiler Game
BL
) to routine B.
BL
then its existing stored R14 would be overwritten. So it stores its R14 to the stack to preserve it.BL
’s to routine C. (R14 ← return address, PC ← Routine C).MOV pc,r14
.
BL
instruction.BL
.Routine C does not call any subroutines; it is known as a leaf routine. Leaf routines can dispense with the overhead of storing their return address on the stack.