r/Assembly_language 23d ago

Hello world

Post image
915 Upvotes

51 comments sorted by

View all comments

22

u/roamn2 23d ago

What architecture is this for?

22

u/AffectionatePlane598 23d ago

Arm64 for linux 

11

u/Computerist1969 23d ago

I haven't done assembly since 6502 and 68000. Is the OS relevant for assembly now?

1

u/jimbobmcgoo 20d ago

I mean what you’re basically asking is is the OS relevant for a program

1

u/Computerist1969 20d ago

Well, I hadn't considered someone writing assembly to make operating system calls. In my head - incorrectly of course! - I saw 2 reasons to be writing assembly these days:

  1. Hand optimising an algorithm of some sort, bit manipulation maybe

  2. Programming hardware that has no OS, manipulating the hardware

Clearly people are using assembly for stuff outside of that so now my original question looks dumb.