[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 to learn x86_64 assembly?

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: 16
Thread images: 3

File: x86_64.png (131KB, 667x1056px) Image search: [Google]
x86_64.png
131KB, 667x1056px
How to learn x86_64 assembly?
>>
File: 1413991736068.png (70KB, 640x560px) Image search: [Google]
1413991736068.png
70KB, 640x560px
>>51598444

1. write C code
2. assemble
3. pretend to know x86 assembly

There you go
>>
File: nigger.jpg (32KB, 318x391px) Image search: [Google]
nigger.jpg
32KB, 318x391px
>>51598444
>>
nasm ftw
>>
>>51598521
so how different are 32 bit and 64 bit?
Is 64 like an addition to 32?
Or is it a completely different language so you're fucked if you learned 32 instead of 64?
>>
>>51598711
You gain extra instructions for storing 64bit data, and you can split and combine data from and into 64bit variables.

I haven't really studied anything completely different from plain x86, I just jumped into AMD64, and now I can work between them both. So no, not completely different at all.

Also; you're asking in the wrong place. ?g/ don't know this shit lol
>>
>>51598822
thanks man, any link that'll get me going?
>>
>>51598881
To learn this shit? Literally Google, that's what I did. Or find some friends that can walk you through it. I'd also recommend (Kinda) what >>51598488 said, but just learn C before you start messing with assembly. It'll teach you how programs really work, and it won't fry your brain. That way you can jump into x86 and go "Oh yeah, that's like a pointer!". You could also compile programs with a C compiler, and then look at the output data in IDA or a hex editor, and see how your program translates to assembly. After you understand that, you can start haxing vidya and cracking software, which seems to be one of the main reasons for learning this stuff, since compilers make things so simple.

If you just want to look at the differences between x86 and AMD64, search for "AMD64 extended registers". That's all I can think of when it comes to additions from x86.
>>
http://www.x86-64.org/documentation_folder/abi.pdf
>>
>>51598711
more registers, longer adresses, new instructions
you could have googled that
>>
>>51598881
Hint: Don't read this unless you want to rip your hair out >>51599320
>>
>>51599357
Needed to go to the barbershop anyways, win win
>>
https://www.ethicalhacker.net/columns/heffner/intro-to-assembly-and-reverse-engineering

I've found this introduction very helpful to start out
>>
>>51599422
after that
http://beginners.re/Reverse_Engineering_for_Beginners-en-lite.pdf
>>
>>51599422
>>51599442

thanks a lot
>>
youll want to know x86 asm before you learn x64 asm. theres a pretty good introduction to x86 asm[1] that covers the basics. even though it's windows related this is a good reference as well[2] theres more resources so look around but these are the first two that came to mind

play around with an assembler and debugger. none of this stuff is really hard. its apparent when people like >>51598488 talk about asm though and they usually look retarded.

[1] http://www.drpaulcarter.com/pcasm/
[2] http://www.codemachine.com/article_x64deepdive.html
Thread posts: 16
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.