News for hackers. Stuff that matters.
Re:Why do arrays start at 0? by pjmlp on Thursday August 25, 2022 @04:59AM (#32591294)
Except if the CPU is microcoded, those instructions might not mean what you think they do, and you need something like Intel's V-Tune to actually understand what the CPU is doing with them.
Re:Why do arrays start at 0? by blueflow on Thursday August 25, 2022 @05:04AM (#32591315)
> ... to actually understand what the CPU is doing with them.

x86 has a developers manual for this purpose.

Re:Why do arrays start at 0? by pjmlp on Thursday August 25, 2022 @05:33AM (#32591500)
It has, and if you manage to know everything on those pages, for every single processor on the market, while taking into consideration motherboard architectures, and OS workloads you're our hero.

We are way beyond MS-DOS days and Michael Abrash's books.