You Can Learn ARM Assembly Language in 15 Minutes | ARM Hello World Tutorial
105288 People Read – 3020 People Liked – You Can Also Like
In this video, I show you how learning a new programming language is NOT HARD in 2021. Assembly especially is one of the easiest languages to learn. Today, you’ll learn how to write a Hello World in ARM assembly in under 20 minutes. In 2020, programming assembly language has never been easier. YOU DONT EVEN NEED A RASPBERRY PI.
This video stays really high level, we’ll dive deeper into memory in the next release.
LLL Merch: https://linktr.ee/lowlevellearning
Follow me on Twitter: https://twitter.com/lowlevellearni1
Follow me on Twitch: https://twitch.tv/lowlevellearning
Join me on Discord!: https://discord.gg/gZhRXDdBYY
To get right into the coding, skip to 03:15.
0:14 What is Assembly
2:22 ARM Instructions
3:16 Lets Code!
okay and how do we do that well let’s ask the system call table we need to set r7 to 4. we need to set r0 to the file descriptor we’re going to write to which is one we’re going to set r1 to the data we’re going to write to the screen and then r2 to the length of that data we’re adding a few more arguments now so instead of just the r0 before we have r0 r0 r1 and r2 a little more complicated really not that bad all right so what do we say we’re going to do
the system call is now system call for r0 is now the file descriptor file descriptor one uh we have to set r1 to something right okay what is that something that something is the data we’re going to output to the screen let’s define that data in the data section that makes a lot of sense right the message so this is a label we’re calling the message we’re going to write message and it is of type ascii and it’s hello world with a new line at the end cool so what does that do we’ve told the assembler hey in your data section there is an ascii string of this value that we’re going to refer to as message