No video

How Do I Learn Assembly?

  Рет қаралды 213,382

Low Level Learning

Low Level Learning

Күн бұрын

Live on Twitch: / lowlevellearning
Learn assembly through C coding! Understand the binary, stack, and while loop concepts. #Assembly #Programming #Ccoding #TechEducation #CodeLearning
🏫 COURSES 🏫 Check out my new courses at lowlevel.academy
🙌 SUPPORT THE CHANNEL 🙌 Become a Low Level Associate and support the channel at / lowlevellearning
Why Do Header Files Exist? • why do header files ev...
How Does Return Work? • do you know how "retur...
🔥🔥🔥 SOCIALS 🔥🔥🔥
Low Level Merch!: lowlevel.store/
Follow me on Twitter: / lowleveltweets
Join me on Discord!: / discord

Пікірлер: 100
@shanehebert396
@shanehebert396 3 ай бұрын
We used to call C "High Level Assembly".
@zFede_Rico
@zFede_Rico Ай бұрын
i started programming in assembly to learn it and now i get why people say this
@KanjiCoder_RTFM
@KanjiCoder_RTFM 29 күн бұрын
I've been coding C since 2020 and still don't know assembly .
@somebody-anonymous
@somebody-anonymous 7 күн бұрын
I heard portable assembly
@CallousCoder
@CallousCoder 7 ай бұрын
I have 5 or 6 episodes on ARM64 assembly where we even end up doing GPIO on the pi, for those who are interested
@mr.incognito4640
@mr.incognito4640 5 ай бұрын
Where?
@CallousCoder
@CallousCoder 5 ай бұрын
@@mr.incognito4640 on my channel there’s a play list.
@imperim
@imperim 3 ай бұрын
send
@CallousCoder
@CallousCoder 3 ай бұрын
@@imperim have fun.
@imperim
@imperim 3 ай бұрын
@@CallousCoder where?
@coolbrotherf127
@coolbrotherf127 7 ай бұрын
I started with 32bit ARM Assembly for raspberry Pi CPUs. The architecture is a bit more beginner friendly compared to standard x86 assembly. Great way to also learn how to use the Linux command line as well.
@rviewer7452
@rviewer7452 6 ай бұрын
Same, that is what they used in my Computer architecture class
@davep8221
@davep8221 22 күн бұрын
I love that architecture. I began programming way too long ago. No superscalar, 0 depth pipelines, etc. When I saw the conditional execution instructions and realized how MFing brilliant they were, it put a smile on my face. The FIQs are brilliant, and on the SOC I used, the MMU design was optimized for so many situations, yet simple to use. I'd never done actual MMU programming, but ARM made it easy.
@AndrewMilesMurphy
@AndrewMilesMurphy 6 ай бұрын
Assembly and any references to the stack ALWAYS make me feel like I’ve eaten an entire tube of off-brand Pringles and am now suffering digestive trauma to my esophagus.
@mayapankhaj9124
@mayapankhaj9124 26 күн бұрын
Glad someone feels the same
@FrozenKnight21
@FrozenKnight21 7 ай бұрын
I learnt ASM through online tutorials. It was fun, it was even more fun learning how to count cpu clock cycles, and eventually how to compleatly ignore ebp based stack frames.
@AK-hw9ij
@AK-hw9ij Ай бұрын
I don’t know why your channel isn’t gigantic. I’m confident it will be one day. I beg you, never stop.
@BigTurtleMane
@BigTurtleMane 6 ай бұрын
I learned with “Assembly Language Step-by-Step” over Christmas break one year when I was like 19. I felt so 1337 😂
@steamrangercomputing
@steamrangercomputing 6 ай бұрын
I did the opposite. I learnt to code in assembly on the Amiga and then tried to make a large project, thought "This is shit", and moved to an optimising C compiler.
@skryfall
@skryfall 6 ай бұрын
I learned assembly by doing my own ISA and creating a custom processor in Verilog. I honestly believe that while it isn't the most optimal way to learn, you will learn a lot.
@nolanrata7537
@nolanrata7537 2 ай бұрын
I learned x86 assembly by writing a bootloader that can read and load an ELF kernel from an ext2 partition, it was a lot of pain but also a lot of fun!
@6srer
@6srer 7 ай бұрын
I want to understand computers like this guy, #lowlevel learning 🎉
@kcvinu
@kcvinu 7 ай бұрын
I started coding as a hobby in 2014 and only last week I learned the difference between malloc and calloc. Because, I have been playing with language with GC all these years.
@6srer
@6srer 7 ай бұрын
@@kcvinu 🤣🤣🤣oh, there's also realloc.
@6srer
@6srer 7 ай бұрын
@@kcvinu Everyday we learn something new ✊
@kcvinu
@kcvinu 7 ай бұрын
@@6srer Yeah
@squid13579
@squid13579 Ай бұрын
start with sasm( ide for assembly), ida free ( to view in graphs xrefs , imports )and tools like objdump and readelf ( to understand got, ptl .rodata , understand linkers and lazy and dynamic binding , and other crazy stuffs..) 😂.
@ibi3846
@ibi3846 7 ай бұрын
Just learn beta assembly with MIT course as an introduction (course is free on the net). Then code a compiler from any source to beta uasm. Then learn classic assembly. At this point, ur top 0.01% of programmer in terms of deep understanding and C has even become easy !
@davidgari3240
@davidgari3240 5 ай бұрын
if you know some C, then this is good advice because you can see how C works. If not, then a good simple assembler/disassembler for your favorite CPU is the best way. You are learning assembly for a reason: to become intimate with that and only that one CPU. You have to crawl (through broken glass) before you can walk. Take some electronics courses too, if you want to code bare metal. Performance benefits of machine code are diminishing as I write this. There was a time when computers waited for us. Now we wait for them. Soon they will be telling us what to do.
@mayapankhaj9124
@mayapankhaj9124 26 күн бұрын
You sound like a philosopher. We need more like you in the field. I trust you and your expertise. Any concrete tools I can start with?
@davep8221
@davep8221 22 күн бұрын
Now use -O3 on a moderately complex program. IIR, strcmp() is so optimized (and inlined) that the asm is almost unrecognizable. Some things will use SIMD instructions (if available).
@_____MMM
@_____MMM 7 ай бұрын
I did the opposite, I wanted to learn C, so I started with Assembly. I had a verry hard time learning C even tho I had years of experience in programming (High level languages), but ASM was much easier.
@koiledPythonRain
@koiledPythonRain 7 ай бұрын
: 💀
@baranjan6969
@baranjan6969 7 ай бұрын
Lmao same happened I failed to learn C after python so learned assembly then C and now I can't write python codr anymore
@BigTurtleMane
@BigTurtleMane 6 ай бұрын
@@baranjan6969😅
@wil-fri
@wil-fri 6 ай бұрын
I started with C and Visual Basic 😅. That helped me a lot 😊
@MikhailFederov
@MikhailFederov 6 ай бұрын
Respectfully I disagree. The best way to learn assembly is to painfully program in assembly. I had an architecture class in college that only allow us to write in x86-except for the last project. That was intentional as it showed how how grateful we were to have the abstractions afforded to us by C, after a semester-long drought of not being able to write even a single if statement
@PlayBASIC-Developer
@PlayBASIC-Developer 2 ай бұрын
To kick start learning Assembly today, get into retro emulation. Amiga/Atari St/Classic Mac for 68000 or even DosBox for classic 286/386/486 etc .. easy and safe !
@mayapankhaj9124
@mayapankhaj9124 26 күн бұрын
Sounds golden. Thank you
@xerathgaming1915
@xerathgaming1915 2 ай бұрын
ive been coding in c and limiting myself to syscalls and malloc and slowly building myself a library. im currently trying to recreate printf, its really fun tbh
@missquprison
@missquprison Ай бұрын
@@xerathgaming1915 when are you making your own temple OS?
@user-gn1em4ly4b
@user-gn1em4ly4b 6 ай бұрын
Is ARM a good platform to start learning Assembly?
@azhagurajaallinall126
@azhagurajaallinall126 6 ай бұрын
"This is the for loop" nice Have to try for the golden classic "hello world",then start off with simple "compare programs" to learn 😊(thats a good way) Have to learn how to make a compiler more over,internet is wretched,to find right resources,filled with scraps,manipulations like some kinda misbelief,mlm network or so,whatever Thank you Wish all be well 😃🌟✨🙌 04.02.2024 06:26 pm ist (43rd comment,3.2k+ likes,59,266+1views)
@georgehelyar
@georgehelyar 7 ай бұрын
It's all fun and games until every instruction is relative to the current location
@Bharath-sf9ch
@Bharath-sf9ch 9 күн бұрын
Which assembly architecture i choose to learn as a beginner? Someone said lc-3 etc..
@AdiVarshney-f6i
@AdiVarshney-f6i Ай бұрын
Wait what is the reason that people learn assembly or like what’s the benefit? Can’t most high level languages(like java or cpp) provide everything that a typical modern programmer needs(like for jobs or other coming use cases for programming and cs)?
@joshuathomas512
@joshuathomas512 Ай бұрын
Cosworth getting all the business
@ercntreras
@ercntreras 7 ай бұрын
Once you realize that everything wasn't so hard once you dedicated the time to learn it
@tlhIngan
@tlhIngan 29 күн бұрын
Ah ARM assembly.... Though I think this code is a bit too little to determine if it's AArch32 or AArch64. There are subtle differences between the two, mostly in system level code, but a few drop in user code too.
@jakubkucera1973
@jakubkucera1973 6 ай бұрын
It's actually more important to be able to read assembly than to actually write it
@GavHern
@GavHern 3 ай бұрын
honestly if you have never worked in assembly at all i wouldn’t recommend this. maybe after a few starter assembly projects
@D0J0P
@D0J0P 26 күн бұрын
When I learn programming, I will start with C, then probably Assembly afterwards.
@daanhoek1818
@daanhoek1818 7 ай бұрын
Not only that, but the best way to *write* assembly is also by writing C code!
@cerberusrap
@cerberusrap 23 күн бұрын
I tried that way but didn't work for me. I dived into books.
@seeker4430
@seeker4430 Ай бұрын
But how do I view the assembly after compiling C code?
@kwazar6725
@kwazar6725 6 ай бұрын
Write ur own Assembler, disassember, compiler, opimizer linker and then come here😂
@kamilziemian995
@kamilziemian995 3 ай бұрын
I want to learn assembly.
@SirArtanis7
@SirArtanis7 6 ай бұрын
By chance, do you know how to get your hands on IBM assembly? Or IBM cobol? I'm working on my own solution for this and the best I have is a rasberry pi that runs z/os
@RealCadde
@RealCadde 2 ай бұрын
There are two even better alternatives to learning assembly if you know nothing to begin with. 1) Play Shenzhen IO. and/or 2) Watch Ben Eaters videos on breadboard computers. That gets you up and running with the wind in your back.
@mayapankhaj9124
@mayapankhaj9124 26 күн бұрын
Thank you!
@ottersmeep25
@ottersmeep25 7 ай бұрын
What is a variable? Is that like saying MOV XXXXXXX BAK
@Walkingdeadman1991
@Walkingdeadman1991 6 ай бұрын
I was just starting to get my head around x86-64 ASM and now I'm getting hit with ARM 😭
@wisteela
@wisteela 7 ай бұрын
What application is being used to disassemble the code?
@MaKaNufilms
@MaKaNufilms 7 ай бұрын
seems to be objdump, but what I am more curious about how he builded, so my x539 is positioned at a different place. I am a total noob of C and ASM, just builded with gcc -o main.o main.c
@baranjan6969
@baranjan6969 7 ай бұрын
objdump -d a.out works but idk what he used here
@john7samuel85
@john7samuel85 5 ай бұрын
how to access the memory like he does
@brenomanhaes9322
@brenomanhaes9322 3 ай бұрын
Gdb
@AlTiri-rd7ly
@AlTiri-rd7ly 6 ай бұрын
Nice
@alst4817
@alst4817 Ай бұрын
I code in assembly, I run Temple.
@j.ysr0
@j.ysr0 3 ай бұрын
Font name?
@daviddelaney363
@daviddelaney363 6 ай бұрын
Is this 3270 Assembler?
@user-px4qj6pz9s
@user-px4qj6pz9s 7 күн бұрын
i rly wonder why did he take 1337 as an example at first
@menoone2042
@menoone2042 7 ай бұрын
You can learn assembly using cheat engine
@romania-n6q
@romania-n6q 3 ай бұрын
This is not how human write assembly code this could help if you're not a beginner. We use a lot of tools and libraries and we got our own best practices
@rty1955
@rty1955 6 ай бұрын
I could NOT disagree more. The best way to learn assembly is to pick up or obtain on the internet how the particular CPU functions. Learn all the Op codes and What they do. Then pick an assembler (they are different) and learn the particular assembly directives and how they work. Flowchart your work first so you can break down each block of work into proper assembly code. I have been coding in assembly since 1969
@vmdehart2
@vmdehart2 7 ай бұрын
What is assembly? Is this like coding? what is being assembled here
@lautarobeheran
@lautarobeheran 7 ай бұрын
Its basically machine code. Instead of a more human readable code, asembly shows you the instructions that are being sent to the computer, at a very fundamental level
@imme7439
@imme7439 7 ай бұрын
How you got compiled c assembly code?
@CaridorcTergilti
@CaridorcTergilti 7 ай бұрын
You have to use a special compiler flag
@imme7439
@imme7439 7 ай бұрын
@@CaridorcTergilti oh thx
@oussama7132
@oussama7132 7 ай бұрын
but why? unless you're being paid money that will make you retire in a year
@iLLuzion1st
@iLLuzion1st 2 ай бұрын
Some people learn to ya know learn because they think it is cool. Not everything in life has to be money motivated.
@liquid8980
@liquid8980 7 ай бұрын
The best way to learn assembly is through blood sweat and tears.. Go find a tutorial online and sit and trust that you will learn how it all works with time. C programming can help for sure but the Best way is sitting and actually trying to program in assembly.
@mutlugameofhalit
@mutlugameofhalit 17 күн бұрын
isn't this loop, nearly, infinite?
@MrGeometres
@MrGeometres 7 ай бұрын
Just play Shenzhen I/O.
@jmooroof1769
@jmooroof1769 7 ай бұрын
Shenzhen I/O is something you should do after learning ASM
@ares106
@ares106 5 ай бұрын
Human resource machine.
@navidjalilian5087
@navidjalilian5087 7 ай бұрын
Duh, obviously!
@rod653
@rod653 Ай бұрын
i uh what???
@maximilianoalvarez8086
@maximilianoalvarez8086 Ай бұрын
Nah, I’m good fam.
@musicdudejoe263
@musicdudejoe263 7 ай бұрын
What
@princemarkied8071
@princemarkied8071 2 ай бұрын
nope... just nope..
@Veeti1245
@Veeti1245 7 күн бұрын
Who the fuck wants to learn assembly
@mohamedb5060
@mohamedb5060 7 ай бұрын
can you stop the music because it is very annoying
@lewis6648
@lewis6648 8 күн бұрын
You lost me
@KayC352
@KayC352 6 ай бұрын
yall learning assembly by learning C, im learning assembly by writing a bootloader, we are not the same
the truth about ChatGPT generated code
10:35
Low Level Learning
Рет қаралды 223 М.
why do header files even exist?
10:53
Low Level Learning
Рет қаралды 394 М.
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 49 МЛН
Before VS during the CONCERT 🔥 "Aliby" | Andra Gogan
00:13
Andra Gogan
Рет қаралды 10 МЛН
SPONGEBOB POWER-UPS IN BRAWL STARS!!!
08:35
Brawl Stars
Рет қаралды 17 МЛН
microsoft doubles down on recording your screen
10:00
Low Level Learning
Рет қаралды 59 М.
I Designed My Own 16-bit CPU
15:46
AstroSam
Рет қаралды 2 МЛН
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2,1 МЛН
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 1 МЛН
The World's Tallest Pythagoras Cup-Does It Still Drain?
10:05
The Action Lab
Рет қаралды 302 М.
Every Programming Language Ever Explained in 15 Minutes
15:29
Flash Bytes
Рет қаралды 318 М.
before you code, learn how computers work
7:05
Low Level Learning
Рет қаралды 254 М.
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
you can learn assembly FAST with this technique (arm64 breakdown)
12:37
Low Level Learning
Рет қаралды 161 М.
The 3 Laws of Writing Readable Code
5:28
Kantan Coding
Рет қаралды 492 М.
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 49 МЛН