[HN Gopher] Art of Assembly Language Programming and HLA by Rand...
___________________________________________________________________
Art of Assembly Language Programming and HLA by Randall Hyde
Author : todsacerdoti
Score : 89 points
Date : 2021-09-28 05:07 UTC (1 days ago)
(HTM) web link (www.randallhyde.com)
(TXT) w3m dump (www.randallhyde.com)
| BBC-vs-neolibs wrote:
| There is a tutorial for Windows assembler somewhere - it taught
| how to make OLE calls directly from asm. Somehow I thought it
| looked MUCH simpler in asm than in C++. No pesky types and no
| weird cast errors.
| bch wrote:
| HLA == high level assembly[0], for any (like me) who didn't know.
| I didn't see it explained in TFA.
|
| [0] https://en.wikipedia.org/wiki/High_Level_Assembly
| tony_codes wrote:
| Maybe people here find it interesting. I'm in the process of a
| guide on writing x86-64 with Docker with ability to write in VS
| Code and debug within a docker container --
| https://medium.com/@tony.oreglia/getting-started-writing-ass...
| gtirloni wrote:
| I remember reading the first edition and it wasn't based on HLA,
| I think? And then re-reading with HLA and thinking "why not learn
| C instead?"
| garren wrote:
| He has a more recent edition that deals with x86_64, too
|
| https://nostarch.com/art-64-bit-assembly
|
| I haven't read it yet, but skimming it, I don't see many
| references to HLA which is nice.
|
| It's oriented towards windows and masm, but seems like a good
| intro to the subject even if you're working with macOS (intel) or
| Linux.
| abzug wrote:
| Sadly the book uses MASM and I don't have access to a Windows
| machine.
| junon wrote:
| That's just the syntax. Get YASM[0] and use the examples that
| way. The machine code is still the same, the syntax is the
| only difference.
|
| [0]
| http://www.tortall.net/projects/yasm/manual/html/manual.html
| hyproxia wrote:
| Strange, the book has no Amazon reviews and very few mentions
| on the internet, despite the author's popularity. Any idea why?
| gozzoo wrote:
| Publication date: October 2021
| hyproxia wrote:
| Even more strange. I just got a full version from libgen
| and we're still in September.
| wk_end wrote:
| Aside from the recent publication date, assembly language is
| pretty niche these days.
| evil_genius wrote:
| This gets shared a lot whenever Assembly is mentioned on HN but
| this is a pretty good intro to arm32 Assembly. The tutorials and
| examples can be run on a physical or emulated Raspberry Pi :
|
| https://azeria-labs.com/writing-arm-assembly-part-1/
| ChrisSD wrote:
| Ah, this takes me back. HLA really helped me to learn the basics
| back in the day. To be honest nowadays my assembly skills are
| mainly read-only. Usually when I'm debugging some weird crash or
| looking to see how something gets optimized (or doesn't). Still,
| I'm very glad to have learned.
|
| If nothing else, it rid me of the notion that C is "portable
| assembly".
| anta40 wrote:
| Veteran assembler folks very likely still remember the good old
| Randy (Randall Hyde) vs Betov (Rene Tournois) debate in
| alt.lang.asm. e.g:
| https://groups.google.com/g/alt.lang.asm/c/gYJ4KYpczSc?pli=1
|
| I like HLA (never use that for production though, since I'm a
| mobile app dev). Too bad is not actively developed anymore.
| Santosh83 wrote:
| Oh yes those were the days. Such discussions would never be
| allowed in modern forums/discord. It was a kind of assembly
| heyday. HLA, FASM, NASM, RosAsm... most of them seem to have
| either disappeared or stagnated.
| pjmlp wrote:
| Yes, back in those days (TASM fanboy here), I had lots of fun
| doing stuff in Assembly.
|
| Also readonly over here, who can manage the amount of
| variations on modern ISAs.
|
| Still, even when occasionally debugging JIT code it is helpful
| to at least being able to read it.
| snvzz wrote:
| libgen (discussed recently, as they added an ipfs frontend) has a
| version of the 1st edition (16bit) in a single PDF that isn't
| horribly formatted, if anyone cares.
| inatreecrown2 wrote:
| i am looking for something like this but for arm64 on macos.
| bobharris wrote:
| interested.
___________________________________________________________________
(page generated 2021-09-29 23:02 UTC)