Assembly Language Tutorial 3 : Assembly Language Functions

[ad_1]
Code & Transcript Here :

Support me on Patreon :

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


Posted

in

by

Tags:

Comments

42 responses to “Assembly Language Tutorial 3 : Assembly Language Functions”

  1. rospotreb pozor Avatar

    I dont understand where it get from printf and scanf!

  2. doni mart Avatar

    Hi. Could i program this rpi in windows since this board are linux based syst. Thank you

  3. Armandas Avatar

    superb tutorial

  4. RishmaceInDaFace Avatar

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

  5. respektek Avatar

    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!

  6. Brad S Avatar

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

  7. Robert Rush Avatar

    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

  8. R1S8K Avatar

    Why the picture of raspberry pie logo? Is this connected to Linux or raspberry pie programming?

  9. John Smith Avatar

    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.

  10. Maruth Goyal Avatar

    Derek, AWK please?

  11. Daan Witte Avatar

    Thanks for this video!!
    When are the 32bit tutorials?

  12. Abeer Qamer Avatar

    you're great 🙂

  13. Lizardan Avatar

    Elixir PLEASE! … and then Elixir Phoenix …. THANKS!

  14. thetosta1 Avatar

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

  15. Zibu Avatar

    Hello, i was trying to find if you have a list of tutorials to do but couldn't find it in your website. Just wanted to know if you are interested in VHDL, since it is a hardware language and you don't have anything like that.
    Sorry for my english, i hope you understand what i meant.

    regards,
    Andres

  16. Aashish Karki Avatar

    will the series continue ??

  17. ^Crazy*Freestyle*Tricks^ Avatar

    i like assembly but not for r.pie in nasm will be beter but this nice for begining but how to control gpu ram rom screen with assembly this stuff are hot

  18. Juan2003gtr Avatar

    Hi Derek…Please, do a quick video of Angular 2js……that would be awesome…we can no longer deny its existence

  19. Tyler Hackett Avatar

    I liked the part where you said "situation"

  20. Bora Kaplan Avatar

    How about git tutorial?

  21. Oliver Benson Avatar

    Hi Derek. Thanks for these videos. I was wondering if you could do some languages from the "Seven Languages in Seven Weeks" series. If you could do Clojure, Io, Julia, Elixir, and miniKanren for example, that'd be really cool! 🙂 Thanks for all your videos, Ollie

  22. The Wanted Boys Avatar

    derek HELP pliz explain to me why in c i can do *ptr = "hello" but i can't do this
    &var = 1001 what if i want custom anddres ..

  23. Theo Müller Avatar

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

    I love your videos!

  24. maxirater Avatar

    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.

  25. Antonio Trpeski Avatar

    i saw that you want to do game making tutorials you are free to go evryone like's that thanks for all of your videos

  26. GangsterLeone X Avatar

    an cuda with c tutorial derek

  27. ^Crazy*Freestyle*Tricks^ Avatar

    derek cuda programming tutorial plz

  28. Tasos Paunov Avatar

    derek show us cuda with c plz

  29. The Wanted Boys Avatar

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

  30. americanswan Avatar

    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.

  31. Kiazio Avatar

    You should do a tutorial on Visual Basic.

  32. Parki Avatar

    I want to try to learn a programming language by examples only and with no explanations,
    so I need someone to write the examples for me.
    Requires zero efforts from you, because only thing you need to do
    is write simple snippets of code and no initiative at all.
    That would be really cool if we could learn something like that.

    I know it sounds like 'it will be fucking hard or harder than with explanations',
    but no. I think that it's much easier way because you understand things directly.
    For example you learned your native language with no explanation at all.
    What if we still remain the ability?

    P.S. It's to Derek, but anyone welcome.

  33. Sonnic Sky Avatar

    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.

  34. kerpal3 Avatar

    You should do a tutorial on digital logic if you can but please don't use Logisim if you do.

  35. Arunav Banik Avatar

    hello sir . keep it up.

  36. Rob Avatar

    Thanks for kickstarting my learning experience. That was fun!

  37. John Smith Avatar

    Both you and your channel are fantastic!

    Keep up the great work.

  38. Fazal828 Avatar

    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)

  39. Daniel Bergqvist Avatar

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

  40. Masoud Rousta Avatar

    another great tutorial , well done

  41. rizigs Avatar

    Awesome stuff

  42. barnebyboy Avatar

    Derek.How is it going…still @ it…C# advanced class…don't forget me….keep up the good work..

Leave a Reply

Your email address will not be published. Required fields are marked *