Assembly Language Tutorial 3 : Assembly Language Functions

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


In this tutorial we will finally create a Real Assembly Language Program! We will learn about Stacks, How to Use C Functions and How to Create Custom Functions in Assembly Language. After this tutorial you'll know most of what you need to make many programs.

Thank you to Patreon supports like the following for helping me make this video

@kyleaisho
@thetwistedhat
vjFaLk
Рекомендации по теме
Комментарии
Автор

Both you and your channel are fantastic!

Keep up the great work.

JohnSmith-elbp
Автор

I got goose bumps over this video; been peeking at RISC (specifically ARM) coming from CISC with FAsm and this tut is fantastic --c functions!!
TY

NOPerative
Автор

Finally got these programs entered and running. Just one bad instruction causes segment vaults. Like looking for a needle in a haystack.

NotNoAndrew
Автор

Thanks for kickstarting my learning experience. That was fun!

rob
Автор

In the program where we have output the question on screen using LIBC and we have loaded the addr_question in R0 can we load the addr_question in R1 to printf the question on screen instead of R0. Because when I use R1 instead of R0 I get the error of segmentation fault when I do "make gcc".

hziub
Автор

Note: if you are using arm-none-eabi to compile you assembly code, you cannot use standard C functions. The toolchain is designed for microcontrollers that do not need or have stdout. Instead they use a UART, SWV, I2C etc. connection.

JohnSmith-bjuc
Автор

after electronics and assembly i think is time to show as how cuda in c works

TheWantedBoysX
Автор

Is there any C-style macros in assembly? Like could I hash-define a macro for the magic numbers for the system call values or return register? Anything to make the code more human-friendly. I can’t memorise all the magic numbers!

gregoryfenn
Автор

Hi Derek, I had a slight issue with my makefile when I used gcc like you did in the video. I kept getting a syntax error, and I fixed it by using this instead and everything worked:
gcc:
as -o test.o test.asm
gcc -o test test.o

I hope this might've helped someone out there! And awesome tutorials btw, so great!

charlien
Автор

You sir are a god sent. I've always loved computers and solving problems through code ( taught java in school and loved it) but I am just now starting to actually learn stuff. Your channel is absolutely amazing. and I applaud you for taking your time out to doing this, knowing this much information I'm pretty sure you are a busy man.
I do have a small favor to ask you, when I first started my journey to learn to code I had no idea what I should learn (tbh i'm still debating what my next language should be) and I wanted to ask you if you could create a really small video on what someone should learn and maybe in which order?
Thanks again...hopefully i'll know as much as you do someday. ps what did you study? ( in college or wherever you got all this info)

Fazal
Автор

Not only are you a genius, but your ending in this video was amazing. objdump sure is one neat little trick! ;)

bcddd
Автор

Could you bother to explain what a Link Register is?

trafalgarlaw
Автор

Hey, could you please make a full tutorial on makefiles?

I love your videos!

TheMathestar
Автор

Hello there, Derek, first of all, receive a gigantic "thank you", because thanks to good people like you, we as self-taught individuals have managed to know a lot from the good content you deliver to us, I really appreciate what you do, and as I said, it is not smart the one who knows a lot of stuff but the one who know how to transmit his knowledge, and you, my friend are pretty good at this. again, Thank you.

I'm more of a web developer, and I've learned a lot of you, I watched your videos on how to create a wordpress theme. I'm interesting in CMS, but I was wondering if one person can create his own content management system, I know Worpress it's pretty good and it makes easy a lot of things, security for example.
but, what about creating my own CMS, what would be the structure of a CMS?
I've been looking for this kind of topic lately because I'm trying backend development now. Thank you in advance.

sonnicsky
Автор

Id like to suggest a video on Squeak Smalltalk. I think Smalltalk is really fun and simple to learn. And the Squeak environment is really packed with every possible feature you could imagine a graphical environment could have, I think its the perfect learning environment. It was orginally designed for educating kids, its a shame its fallen to obscurity.

monkeyrater
Автор

I've heard learning Assembler basically amounts to experimenting with each command a few times to understand what it does. I'd love to go through the whole ARMv8 instruction set on my own but the problem has always been compiler directives, Op codes for the OS, and syntax structure to get up and running. I couldn't get hello world to compile for the longest time.

Once I understand the basic syntax I'm going to head off on my own reviewing each ARMv8 instruction one by one.

americanswan
Автор

Hey Derek great tutorials, im just wondering if this is the same as ARM-v7 architecture?

RishmaceInDaFace
Автор

Hello Derek ! Are you planning to cover how to use the GPIO from assembly (please....) ?

superdepronic
Автор

Can you make a tutorial on 64-bit ARM assembly? :)

trafalgarlaw
Автор

Could you do a Nativescript tutorial? Meaning how to use Javascript to connect with XML, CSS and Typescript?

thetosta
join shbcf.ru