He doesn't know assembly language

>he doesn't know assembly language
Oh no no no no no. Please tell me you ACTUALLY know what your program does, user.

Attached: mein gott.png (708x569, 316K)

Other urls found in this thread:

en.wikipedia.org/wiki/Optimizing_compiler
twitter.com/AnonBabble

>he doesn't write his program in machine code

have fun with your bloated mess, retard

>he doesn't write programs using butterflies
Spotted the retard.

How do I learn assembly?

I wish I knew, user. It's really tough finding good sources to learn modern x64 assembly (aside from your microprocessor's developers manual, but let's get real, who the fuck wants to read 4 thousand or so pages just to learn assembly). I'm learning from an Australian autist in YouTube, kek ("What's a Creel?" is his channel's name). Most books or tutorials suffer from being outdated.

Start with 16-bit assembly (8086) after you get an idea of how things work, move to x86_64 assembly. It's not that hard as people think it is. Use NASM or GAS (GNU Assembler). I started with GAS syntax. But newbies should start with Intel syntax as majority of the tutorials on the internet are written in Intel syntax.

Thanks, lads. Will do.

Step through some random c binary in r2. You'll pick it up eventually.

This is a meme and a total waste of time unless you already know some asm. Instructions are TRIVIAL; the difficulty of assembly consists of keeping in mind low-level memory management all the time. Meaning if you don't even know what the stack is, your chances of understanding wtf is going on while debugging with asm output are pretty much zero.

I took an x86 assembly class in around 2007. We used MASM and I was a Lintard and tried to use wine for it and the line endings would fuck up every program and I didn't really understand what was happening but would just wave my dick at it until it worked with wine but then it wouldn't work on a real Windows machine because the line endings would change back.
Took me until like a year later to understand what the fuck I was doing wrong (not just using Windows in the first place)

so its unironically better to start with brainfuck. then move up to assembly

I learnt 32 bit MIPS in school. I liked it a lot but it turns out no one uses it.

I dream of learning z80 or 68k assembly. we all know you don't have a clue either since you're a frogposter

>knowing the PDP-11-esque ISA is knowing what your microcoded, superscalar, speculative, out-of-order processor is doing

oh dear, dont tell me you dont have your processor and motherboard memorized. if you cant calculate exact power consumption just by looking at your assembly code, youre going to doom us all

Assembly is simple as fuck, you can learn it in literally an hour. Any programming language has more stuff to learn.

Play TIS-100

I can hand assemble given the processors instructionset, what now?

t. has never touched asm in his life

t. actual retard who never touch neither assembly nor a high level programming language

i actually know assembly that is why i dislike oop

01110111 01101000 01111001 00111111 00100000 01101010 01110101 01110011 01110100 00100000 01110011 01101011 01101001 01110000 00100000 01110100 01101000 01100101 00100000 01100010 01101100 01101111 01100001 01110100 01100101 01100100 00100000 01101101 01101001 01100100 01100100 01101100 01100101 00100000 01101101 01100001 01101110 00100000 01100001 01101110 01100100 00100000 01110111 01110010 01101001 01110100 01100101 00100000 01101001 01110100 00100000 01101001 01101110 00100000 01101101 01100001 01100011 01101000 01101001 01101110 01100101 00100000 01100011 01101111 01100100 01100101

Write in C and you might stand a chance to finish a project

Attached: 8A1C233A0AF84CA886B340142CBEBE2B.jpg (500x375, 27K)

No, you're the retard, pal. There is literally NOTHING you can't do in asm that you can do in high-level languages, because guess what? Those languages are compiled to fucking asm.

Who cares about stuff that I can't modify in code, faggot.

That is a seriously cool game.

How's the unemployment going?

That wasn't my point, retard.

go ahead and write hetergenous compute code in asm.
i'll wait.

Why do you need assembly when you have C.

Or you develop a product that will get produced a million times in a factory.

Yea kinda good.
Though its kind of watered down assembly.

No you cant theres all sorts of unique operations and system calls you learn

>he programs CISC architectures
Not gonna make it

>Binary is simple as fuck you can literally learn it in a minute, Any programming language has more stuff to learn!

Attached: 1529366365814.jpg (499x663, 64K)

>kind of watered down
you've never written actual asm have you

they are just trivia that you should look up in a reference book

It does what I tell it to do

Yes, yes it is. Simple to learn and easy to use are entirely different concepts.

>int 21h
Wow that was hard.

int 8h

omg so difficult so many system calls my brain is exploding aaaaaaaaaaaaaargh

"WHY DO YOU NEED TO KNOW STUFF?", asks the absolute cretin on a technology board. Gee, I don't know, maybe because it's an interesting topic in and of itself, and because it has some cool applications like security, embedded systems, debugging, optimization, reverse engineering, etc.

No i'm sure its complex.
I only programmed a PIC chip once in assembly.

But i only need C for my projects really.
Assembly take too long to write the logical code for it.

>he doesn't know how does he move
Oh no no no no no. Please tell me you ACTUALLY know How does our world works. user.

stop being a code monkey and learn some physics or Math

Dude most embedded systems are written in C even in the military sector.

Most high-level languages stick to unprivileged code.

It matters if you're concerned about performance or security. In those areas, microarchitectural details are significant.

i think 6502 or RCA 1802 are the easiest assembly languages to learn

>literally all the important stuff is written in C
>hurrr but listen to me my visual functional self-modifying programming language is USEFUL trust me
lol

Saying "assembly language" instead of "an assembly language" is the ultimate brainlet red flag.

>user knows that asm language is hardware-dependent
Wow user, you're such a smart little boy. Have a cookie, sweetie.

>microcoded
Do you wanna know how I know that you are brainlet that just threw random words to feel smart?

>hurr look at me i can write in a lower programming language that takes 10 times longer to develop than the C fag

Enjoy being unemployed, always remember use the right tools for the right job bros.

What sort of projects do you people even make in assembly? It sounds miserable.

>implying someone who writes asm doesn't completely dominate C
Shiggy diggy doo.

Don't listen to these fags.

In the real world it gets mostly used cause assembly is really tight.
Like you can write to lets say 1 kilobyte chip.

Where in C++ you need a 32 kilobyte chip for.

Hence in assembly you can write for cheaper chips here they need to shit out billions.
Even if the is just 10 cent cheaper means they save millions of dollars.

>Machine code
>Bloated
Spotted the retard

You can write in assembly all you want but it's never gonna be not even 1/1000th as good as C code optimized by the compiler

>10 times
more like thousands of

Well sure.
I use C quite a lot.
If i need to get complex stuff done and its tight too.

Imagine being so intellectually mediocre that this is your cope for not knowing your asm. Shameful!

I'm right tho. Unless you really really know what you are doing the compiler will optimize things always better than you

Optimization is not even remotely the primary reason for learning asm nowadays, but whatever helps you sleep at night, buddy.

That user is correct and you a retard.

You overestimate how good compilers are.

ARM NEON. It is miserable. One day efficient intrinsics will be available. One day.

Attached: neon.jpg (1000x1000, 148K)

>he thinks that people would put an entire ROM inside a chip when there are tools that can automagically syntethize a net that will decode every istruction no problem

Attached: 1548312949567.gif (225x180, 2.93M)

>It's another I'M RLY AN EMBEDDED DEV GUYS I WRITE HAND OPTIMIZED ASM WAY BETTER THAN THE COMPILER!!!1 thread

You can easily write marginally faster programs by butchering the stack and call conventions.
Micro-optimisation is almost never worth it, though.

alright buddy. post some asm code you wrote that runs better than gcc -O3
let's see how good you are

>i know all of this trust me guise
en.wikipedia.org/wiki/Optimizing_compiler