this post was submitted on 13 Jul 2023
15 points (100.0% liked)
Learn Programming
1640 readers
1 users here now
Posting Etiquette
-
Ask the main part of your question in the title. This should be concise but informative.
-
Provide everything up front. Don't make people fish for more details in the comments. Provide background information and examples.
-
Be present for follow up questions. Don't ask for help and run away. Stick around to answer questions and provide more details.
-
Ask about the problem you're trying to solve. Don't focus too much on debugging your exact solution, as you may be going down the wrong path. Include as much information as you can about what you ultimately are trying to achieve. See more on this here: https://xyproblem.info/
Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I took a look at it. The syntax looks scary and there's tons of words that seem simply alien. Any idea where I should start from? I haven't toyed with programming at a level this low.
There is this excellent video which shows how a simple C program looks in assembly (don't worry about it being C, the program is simple enough to be understood without C knowledge). There's also this which does what the video shows automatically for you. Neither of these are fully sufficient to understand assembly but they are still incredibly useful resources.
Also: watch out for AT&T syntax vs Intel syntax if you're doing x86. It took me way to long to figure this out. And as another commenter mentioned look at TIS-100, but also some other similar games (sorted from easiest to hardest, TIS being harder than all of these): Human resource machine, EXAPUNKS, Shezhen I/O, and Box-256
I'll add it to my watchlist for next month. I wanna get started with it once I've tried out rust.
And I've played quite a bit of Shenzen-IO actually. I have a full paper book labelled and marked haha. I even made little notes to remind me how to make loops and little hacks. That's one reason I'm considering getting into real assembly, I hope it'll be as fun.
I've come across TIS-100. Looking at the steam store images made me give up before even trying haha. I wonder if it'll torture me like Shenzhen or be a nice tutorial.
Didn't know about the AT&T / Intel thing. Thanks!
Just skimmed through one. He explains it quite well. I'll save the links to try and learn it sometime next month. Thank you!
the three letter combinations actually are acronyms or diminutives for all the normal syntax of a programming languages, if you have a cheat sheet and study a bit everyday it greatly helps. Remember that each processor has its own language also.