[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How do I teach myself x86 assembly? Anyone have good resources ?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 32
Thread images: 3

How do I teach myself x86 assembly? Anyone have good resources ?
>>
>>60482337
Compile small and simple programs, make gcc spit out the assembly, be happy.
>>
>>60482382
Sorry I forgot


Fuck got job as x86 assembly programmer , don't know the language
>>
>>60482337
Get hold of the Intel reference manuals.
>>
File: Seriously, friend.jpg (98KB, 1280x720px) Image search: [Google]
Seriously, friend.jpg
98KB, 1280x720px
>>60482412
>got job as x86 assembly programmer , don't know the language
>>
>>60482440
This seems to be a recurring theme on this board "help I got a job but don't know how to do it".
>>
>>60482547
Half a year ago, everyone was complaining that they had 6 PhD's and 75 years of experience and still could not get a job. What changed?
>>
>>60482571
Pajeets triggered the management.
Moved to Poland, poles triggered the management.
Jobs moved back until the next layoffs.
>>
>>60482571

People figured out that HR makes up the requirements and doesnt really know what they are saying. So now everyone just lies there way in. Unfortunately they are not really good at calculating the fit.

Eli the computer guy is correct about people needing to talk more across the industry. Get an idea of what other jobs are like before the jump.
>>
>>60482337

Assembly is way more fun when when you actually make something physical..

Go buy a ATmega16 and some actors, sensor and blinkenlights and get cracking.

It's cheap as hell and good fun. And you can always buy new gadgets and make something bigger. Sky's the limit!


https://www.youtube.com/watch?v=i66INbNR6lY

https://www.youtube.com/watch?v=UOqVnhznvs0

https://www.youtube.com/watch?v=JYfji6o3i-M

https://www.youtube.com/watch?v=nYy-JrZjnAE
>>
>>60482412
how
>>
>>60482412

It always makes me jelly as hell when people say "I got a job as [insert cool job here] but have no idea, lol.."

Maybe I should just think of the perfect job and say "Hey, here I am!"...?
>>
>>60482698
So I'm fuckrd?
>>
>>60482865
Do it.
>>
>>60482412
>got job as x86 assembly programmer , don't know the language
how did you get the job, what programs are you supposed to do, how much do you know about programming?

http://lmgtfy.com/?q=x86+asm+tutorial
>>
>>60482337
I think that cat has autism
>>
>>60482698

Oh I forgot:

For programming you will need "Atmel Studio" (a free IDE).

Here are some sources, but maybe there are better ones..

>http://www.avr-asm-tutorial.net/avr_en/beginner/index.html

>http://www.avr-asm-tutorial.net/avr_en/micro_beginner/index.html

>http://academy.cba.mit.edu/classes/embedded_programming/doc1022.pdf

>http://www.engr.sjsu.edu/bjfurman/courses/ME106/ME106pdf/intro-atmel.pdf

>http://dfe.petrsu.ru/koi/posob/avrlab/ATMega16.pdf

>http://www.atmel.com/images/doc2466.pdf
>>
>>60483016
>>60482698
>hey here learn how to make a paper plane
>then you will be able to design real planes
this is what you are suggesting
>>
>>60482412
what job would that be?
Working on a compiler?
>>
>>60482967

>this_is_bait.jpg


>>60482876

No, you're not.

Assembly is liek any other programmign language, just REALLY explicit.

So instead of something like "if (a!=0) { a = b+1 }" you write something like:

1) if the value in register 1 is zero, jump to line 5
2) copy the value from register 1 to register 2
3) add 1 to register 2
4) check the buffer overflow flag: if it's an overflow goto [error handling]
5) exit programm


It's not that difficult - just different..

Also you can always write simple "hello world" programms. But it's more fun to actually use hardware, because Assembly is directly controlling the hardware. But nothing's wrong with writing "only" software.
>>
>>60483143
>It's not that difficult - just different..
It's extremely difficult.
>>
>>60483081

No, what I am suggesting is:

>"Hey, I want to make a plane, but I have no idea how!"
>"Well, make a paper plane, then build a model aircraft, then mabe a real hang glider and then you can start thinking about a small sailplane.."

There are no shortcuts, you don't start assembly with the Linux Kernel.
>>
>>60483215

Step up your game and git gud, senpai..
>>
Where are you faggot OP?
How did you get the job?
>>
File: 1411902731439.gif (996KB, 245x196px) Image search: [Google]
1411902731439.gif
996KB, 245x196px
why having a job that you dont know the language becoming trend on /g/? god i was thinking about looking for a new job but i dont want to end up coding haskell
>>
>>60482412
I love this meme desu. Everyone takes it so seriously, fucking retards.
>>
Can anyone give me the name of a free IDE/compiler for me to start fucking around with. I just wanna try my hand at making real basic hello world trash.
>>
>>60482337
>Assuming you're on Windows

https://flatassembler.net/

https://flatassembler.net/docs.php?article=manual

https://flatassembler.net/docs.php?article=win32
>>
>>60483898
Because most people have worked with that guy and it is an easy way to trigger the anger from these experiments.
>>
1. Find a book about the language and memory layout and conventions. Knowledge of C is a prerequisite. You need to learn what the instructions available to you are, and what the C language does that you'll now have to do manually.
2. As exercises, write small C programs, isolate some of the parts of the program to their own functions. Make sure the program works.
3. Translate those functions to assembly, and recompile, reassemble, and run to check your work.
4. Try another exercise, but this time just write the function stub in C and try to write the functions in assembly first.
5. That'll get you through the basics of assembly. If your job will need more esoteric stuff, find a longer book and read it
>>
>>60484384


Get OllyDbg for disassembly.

http://www.ollydbg.de/
>>
>>60482337
TutorialsPoint for basic program structure and then your left with the instruction reference manual. And use nasm.
Thread posts: 32
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.