r/ProgrammerHumor • • Oct 10 '26

Meme theyAreLovingIt

Post image
2.1k Upvotes

83 comments sorted by

View all comments

Show parent comment

2

u/Drfoxthefurry Oct 11 '26

I still don't quite understand memory in assembly outside of reserved memory defined in the data section

1

u/sumwunhooisaguy Oct 12 '26

Depends on the CPU and system architecture. Some spots of memory are set for RAM, some for ROM (if you're wanting to work on a cartridge based game console), some for system registers. As for data you set yourself it then depends on the assembler, but generally you just have to reserve it all yourself. The only change is how you can reserve it and how much stuff can be automated by the assembler