Assembly Language Tutorial

preview_player
Показать описание


MY UDEMY COURSES ARE 87.5% OFF TIL December 19th ($9.99) ONE IS FREE

Like the channel? Consider becoming a Patreon! Check it out here:

We'll learn about Vim, Make, Adding, Subtracting and converting Decimals, Binaries and Hexadecimal numbers. As per Assembly Language we'll learn about Registers, the Current Program Status Register, Receiving Input, Outputting Data to the Monitor, .global, MOV, SWI, ADD, SUB, MUL, MLA, Syscall, LDR, .text, .data, CMP, Branching and a whole lot more.

*Watch More Learn in One Videos*
Рекомендации по теме
Комментарии
Автор

Learn in One Videos for Every Programming Language

derekbanas
Автор

0:00 Intro
0:41 Assembly Overview
1:59 Setup / Vim
5:15 Comments
5:35 .text
5:55 _start label
6:14 MOV
6:43 SWI
7:24 Saving and Compiling
7:55 Running the executable
8:34 Linking and BAL
10:26 Makefile
13:07 Bits, Nibbles, Bytes, and Words
13:36 Registers and the CPSR
15:27 Binary Numbers
16:05 Decimal to Binary Conversion
16:39 Hexadecimal numbers
17:37 Hexadecimal to Decimal Conversion
18:05 Decimal to Hexadecimal Conversion
18:47 Adding Binary Numbers
20:00 Subtracting Binary Numbers
20:46 Twos Complement
21:57 Hello World
22:57 LDR and data reference
23:21 .data
23:38 .ascii and a string
23:44 Saving and Running
24:07 Keyboard Input
25:44 Saving and Running
26:10 Adding and ADD
28:51 Subtracting and SUB
29:23 Multiplying and MUL
29:59 Multiply With Accumulate and MLA
31:03 Undo and Redo in Vim
31:36 Branching and B
33:35 Branching based on comparison by using CMP, BEQ, and BGT with the CPSR

unchayndspersonalaccount
Автор

Never thought I'd stoop so low and end up learning this

HK-swvi
Автор

I was just looking for an Assembly tutorial, and last time I was on your channel there wasn't one. You make learning any language simple and I also mastered C++ from you! Thank you so much! Cheers!

LeoTakacs
Автор

You have an insane amount of generosity.

daggawagga
Автор

I think the world revolves because of people like you, Derek. Thank you so much for all of the amazing content over the years.

cliqueiq
Автор

My first programming experience was BASIC on a C64. Then when I went to university we learned ASM on Motorola "flight boards". This brought back some memories and I was able to follow along with your tutorial easily. Thanks for the lesson.

silverismoney
Автор

Assembly language truly made an easy to learn. A real hands on practical coding no-nonsense, no heap load of useless description, explanation, just point-to-point. Derek good man keep it up good job.

imrank
Автор

The internet has been waiting for this tutorial for a a long time. Thanks!

AndrewZengTheRoamer
Автор

Derek, I don't know how you it. Everything is so clear and concise in each of your tutorials. I'm 62 and have never seen anyone teach like you. It's fast paced and covers everything I need to get started on the topic. I've been a systems analyst/programmer designing business systems for large corporations since 1980 and now I'm teaching my neighbor's 12 year old son about R Pi assembly language. This video is going to be a huge help. I'm sending you another cup of coffee my friend. ede

dougthfret
Автор

OHMIGOD! This is a tutorial that i have been hoping for!!! You are a saint for putting all these free tutorials out! especially once like these that will help the new generation of low-level programmers get away from a dependence on interpreted languages.

TheGenericNerd
Автор

Derek it is people like you who keep us remembering the foundation of computer science - if we want to know where computer science is going in the future, we should not forget the basics and foundation

tennissport
Автор

Nice breakdown, I was freaking out a little when you were going through the terminal commands, but I liked how you spelled out the entire thing and filled in the details with further examples.

KitsuneGrl
Автор

I'm just learning this to reverse engineer old video games. Huge respect to those who write assembly on a regular basis

HenrikoMagnifico
Автор

It really makes a difference if Derek Banas has made a video on something if you're going to learn it.

JackElf
Автор

I always see (Derek bananas) first when i look at your name

Hunar
Автор

For many years I've been looking for a course on ASM like this. Thank you for sharing Derek!

DanielRamBeats
Автор

My understanding is that R0 - R12 are general purpose registers. So is it completely arbitrary to select whatever register for a specific syscall, i.e., writing to the screen (file descriptor) using syscall 4 as long as it's R0 - R12? I'm referring to the coding at 22:17 on outputting Hello World to the screen. I heard Derek saying that the registers had to be in a specific order. I looked up linux syscall references online to see a list of syscalls and where Derek uses R2 with #12 as his character length, the reference online shows it being change directory or chdir. So when or how do you know what registers to use with what syscalls and why is syscall 12 a chdir but where Derek uses #12 for R2 happens to be a character length? Could it be because he initially called for syscall 4 in the beginning of his code? Thank you Derek for the videos.

Networkengie
Автор

I got a wix ad😂 like the opposite of assembly

migueldomingos
Автор

Fantastic series. It’s taken me years to find a good primer on Assembly. You are showing small examples that work, specific to the platform, and explain very well the purpose of the registers. I’m also excited because you started on branching quickly showing some practical uses. Looking forward to 2 and 3!!

richardwilliamson