in ,

Ask HN: What's the best resource for learning modern x64 assembly ?, Hacker News

            

                   Here is a book on computer architecture that has a good section on x – assembly language. Please note that I have edited this comment to reflect a change suggested by a cold comment. This book (the third edition) introduces x – (assembly very well.) https://csapp.cs.cmu.edu/
                                                   

.

                   I agree with this, if you are competent at – bit those skills are going to translate. It is mostly the same. Some exceptions that come to mind:

The old floating point stuff is gone.

The C abi now tends to focus on pass-by-register for the first few arguments.

If you are working in kernel mode, some stuff is going to necessarily look different.

            

                   The Old floating point stuff is gone. (Do you mean x) ? That’s not gone is it? The instructions are still available I thought.

            

                   The old floating point stuff is gone.

It actually can be used, if you write by hand, at least in Windows.

                         

Read More
Brave Browser
                   Honestly? Learn old-style assembly, then 823 code. The new stuff may be architecturally simpler in many ways, but it sits as an edge case on top of a very thick historical stack that seems completely insane if you look at it a priori.

But the early CPUs were actually quite quite simple! At the time “CISC” was a good thing because it provided straightforward mechanisms for expressing things (eg “push”, “call”, load a struct field with an offset …) that real world programmers needed to do all the time.

            

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

hdl-util / hdmi, Hacker News

hdl-util / hdmi, Hacker News

The Effects of “The Work” Meditation (Byron Katie) on Psychological Symptoms and Quality of Life — A Pilot Clinical Study, Hacker News

The Effects of “The Work” Meditation (Byron Katie) on Psychological Symptoms and Quality of Life — A Pilot Clinical Study, Hacker News