Assembly Language Throwdown to Steve by Dave of Microsoft

  • Be sure to checkout “Tips & Tricks”
    Dear Guest Visitor → Once you register and log-in:

    This forum does not automatically send notices of new content. So if, for example, you would like to be notified by mail when Steve posts an update to his blog (or of any other specific activity anywhere else), you need to tell the system what to “Watch” for you. Please checkout the “Tips & Tricks” page for details about that... and other tips!

    /Steve.
  • Larger Font Styles
    Guest:

    Just a quick heads-up that I've implemented larger font variants of our forum's light and dark page styles. You can select the style of your choice by scrolling to the footer of any page here. This might be more comfortable (it is for me) for those with high-resolution displays where the standard fonts, while permitting a lot of text to fit on the screen, might be uncomfortably small.

    (You can permanently dismiss this notification with the “X” at the upper right.)

    /Steve.

PHolder

Well-known member
Sep 16, 2020
609
2
292
Ontario, Canada
Well the assembler is just a pretty sugar coating on machine language. Machine language is particular to the architecture of the machine. 6502, for example had exactly three registers (well aside from the program counter) A, X and Y. x86 has been extended a fair bit over the years, and has different modes, the real mode uses a 64k paging design that can be eliminated by later flat (protected) modes. ( https://en.wikipedia.org/wiki/Category:X86_operating_modes ) Motorola 68K has a very regular instruction set where you can use almost any register in any use whereas other architectures have specific uses for specific registers. Then there are the RISC processors which I don't think humans really write code for... they're so unfriendly to use they pretty much require machine generation of code.
 

Duckpaddle

Member
Oct 1, 2020
6
1
I totally agree, that should be his next project after SpinRite! I would love to see what approach Steve would take with teaching ASM. I used Assembler to code for Z80's and CPM. It seemed complicated then but looked back over the code and it seems trivial now. Loved selling customers solutions using CPM 8080 machines for a fraction of the cost of PDP-8s.
 

danlock

Well-known member
Sep 30, 2020
131
44
I'm sure there are plenty of Assembly Language resources. What might be harder to find is a cheat-sheet of sorts that lists optimization methods, the ways to do things more easily that Steve mentioned in response to the "throwdown."

[I've never worked for DEC.]
 
  • Like
Reactions: Barry Wallis