[HN Gopher] NASM Assembly Language Tutorials
___________________________________________________________________
NASM Assembly Language Tutorials
Author : garren
Score : 75 points
Date : 2022-01-03 19:01 UTC (3 hours ago)
(HTM) web link (asmtutor.com)
(TXT) w3m dump (asmtutor.com)
| analognoise wrote:
| "The only interface a programmer has above the actual hardware is
| the kernel itself."
|
| Laughs in bare metal.
| rackjack wrote:
| Are there any "major" assembly languages, or are they just used
| as needed for the platform?
| WJW wrote:
| Learning assembler is on my to-do list for 2022, so this is super
| timely! Not that I expect to use it much, but it will be
| interesting to learn after slowly approaching the topic from both
| sides with the little hobby VMs from Advent of Code on the one
| side and electronics courses on the other.
| tarkin2 wrote:
| Why do people use NASM? Faster binaries? When is it needed?
| Tepix wrote:
| Love the NASM syntax, never got used to the Intel style.
| wk_end wrote:
| Isn't NASM syntax basically Intel-style? Whereas GAS uses
| AT&T-style?
| oso2k wrote:
| NASM follows Intel style though it deviated from MASM and TASM
| for certain things. I think you meant GAS & AT&T style.
|
| https://en.wikipedia.org/wiki/X86_assembly_language#Syntax
| NtGuy25 wrote:
| This is really good. But make sure that you read the NASM
| documentation(It's really good)
| https://www.nasm.us/xdoc/2.15.05/html/nasmdoc0.html .
|
| Specifically my main gripe with this is the fact that X64 code
| changes alot of what this is assuming and can lead into ALOT of
| pitfalls. So make sure you read
| https://www.nasm.us/xdoc/2.15.05/html/nasmdo12.html (The x64 bit
| programming section) if you do follow this guide.
___________________________________________________________________
(page generated 2022-01-03 23:00 UTC)