[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ][Options][ watchlist ]

/prog/ - Programming

Programming
You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.

Name
Email
Subject
REC

0:00

Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Expand all images

[–]

e7a4dc (1) No.5212 [Watch Thread][Show All Posts]

Is there anything about x86 ASM? I want resources on x86 ASM. Does anyone here have any good books or have experienced programming in it.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7cf907 (2) No.5214

CMU's 15-213 class covers it

http://www.cs.cmu.edu/afs/cs/academic/class/15213-f16/www/schedule.html (click on video, they work)

If they stop working find the 2017 version, they're on youtube.

Get the book too, CS:App. Once you're finished, google microcorruption and try it.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

28e7af (1) No.5215

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

87252f (2) No.5230

The best books I have read about it:

Bartlett -- Programming from the Ground Up

Zhirkov -- Low-Level Programming

I've only programmed in it in as much as you need to understand it for buffer overflows and the like.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

87252f (2) No.5231

Oh and the Zhirkov book is mainly (completely?) x86_64, there are quite a few differences. And '64 has two different calling conventions: one for Linux and one for Windows. They differ in which registers are saved to/retrieved from the stack on function calls.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

ef683e (1) No.5254

Ugh what a sad reminder of my unanswered stack overflow thread about an x86 problem I'm having. I opened it an hour ago (https://stackoverflow.com/questions/53967161/segfault-when-writing-into-data-segment-even-though-sufficient-space-allocated) or so and not one answer.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f17c97 (1) No.5255>>5277

Are there any resources for i960 ASM? A huge stretch I know, but I can find almost nothing. The only online resource is some college project which used CTOOLS 5.0 code to create some sort of network.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

97b081 (1) No.5277

>>5255

Well, if you must.. just Wiki the i960, the last external reference listed deals with instruction set.. and then get good at assembly.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

dbe7e4 (1) No.5288

https://software.intel.com/en-us/articles/intel-sdm

https://developer.amd.com/resources/developer-guides-manuals/ (scroll down to the "AMD64 Architecture" heading)

These are the official reference documentation for the x86 architecture.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

93a413 (2) No.5457>>5458 >>5466

what are some comfy systems to learn assembly for if you want to start from nothing like Terry and build something akin to an os? like easy basic graphics/hardware interfaces in assembly. i guess i could go for a ti-84 but i want something more featured, preferably better than a c64 but that's probably getting into graphics accelerators and i have no idea what i'm doing.

again i have no idea what i'm doing or what i want since i'd also want a system with a good emulator so i dont have to pay an arm and a leg. i guess i'm stuck with a ti-84 in reality. the c64 emulators i tried wouldnt even run BASIC commands so i dont think that's the way to go. just jumping into x86 or A64 (i have a rpi) seems like trying to learn to swim by diving in lava.

should i just focus on C and not give a shit about assembly?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

0bbc07 (1) No.5458>>5459

>>5457

MIPS is popular for learning, it's relatively simple but had actual hardware.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

93a413 (2) No.5459

>>5458

thanks, i'll take a look

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7cf907 (2) No.5466

>>5457

Learn RISC-V.

MIT's entire 6.004 class is open sourced, including the lectures which are all on YouTube https://6004.mit.edu/web/spring19/resources/lectures

You can buy these chips for next to nothing, and program them from the ground up yourself. A hardware hacker's dream. India and some other countries are working on a total replacement for ARM using RISC-V. Learn it now and get in on that action if it ever happens.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

49771d (1) No.5467

File (hide): 4f6b0f846dcc977⋯.png (347.1 KB,734x734,1:1,ClipboardImage.png) (h) (u)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Screencap][Nerve Center][Random][Update] ( Scroll to new posts) ( Auto) 5
13 replies | 1 images | 11 UIDs | Page 2
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ][ watchlist ]