Euclidean Algorithm in ARM Assembly π₯οΈ
Learn how to convert C++ code for GCD calculation into ARM assembly, illustrating the Euclidean Algorithm step-by-step.

LaurieWired
270.4K views β’ Feb 1, 2024

About this video
In this video, we translate C++ into equivalent ARM assembly code to compute the GCD of two numbers (also known as the Euclidean Algorithm). We visualize our completed GCD calculator on a raspberry pi.
---
Timestamp:
00:00 Intro
00:44 C++ Equivalent
02:26 Base Case in ASM
04:36 Writing Comparison
05:26 Recursive Case
07:29 Manual Creation of a Modulus
09:10 Calling the function
10:11 Compiling and Running Code
---
Links Mentioned in Video:
https://github.com/LaurieWired/Assembly-Algorithms
---
laurieWIRED Twitter:
https://twitter.com/lauriewired
laurieWIRED Website:
http://lauriewired.com
laurieWIRED Github:
https://github.com/LaurieWired
laurieWIRED HN:
https://news.ycombinator.com/user?id=lauriewired
laurieWIRED Reddit:
https://www.reddit.com/user/LaurieWired
---
Timestamp:
00:00 Intro
00:44 C++ Equivalent
02:26 Base Case in ASM
04:36 Writing Comparison
05:26 Recursive Case
07:29 Manual Creation of a Modulus
09:10 Calling the function
10:11 Compiling and Running Code
---
Links Mentioned in Video:
https://github.com/LaurieWired/Assembly-Algorithms
---
laurieWIRED Twitter:
https://twitter.com/lauriewired
laurieWIRED Website:
http://lauriewired.com
laurieWIRED Github:
https://github.com/LaurieWired
laurieWIRED HN:
https://news.ycombinator.com/user?id=lauriewired
laurieWIRED Reddit:
https://www.reddit.com/user/LaurieWired
Video Information
Views
270.4K
Likes
8.4K
Duration
11:50
Published
Feb 1, 2024
User Reviews
4.7
(54) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now