r/ProgrammerHumor • • Oct 10 '26

Meme theyAreLovingIt

Post image
2.1k Upvotes

83 comments sorted by

View all comments

14

u/MasterGeekMX Oct 10 '26

I'm programming in Assembly. I have to do that no matter what.

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

1

u/ilnarildarovuch Oct 10 '26

Quick! Name syntax and architecture

7

u/MasterGeekMX Oct 10 '26

GNU, RISC-V RV32I.

It is for a CPU that I designed myself.

2

u/ilnarildarovuch Oct 10 '26

Cool!!! I also love GNU syntax (but with LLVM Integrated Assembler :D)

4

u/MasterGeekMX Oct 10 '26

RISC-V is being actively developed, and because they do everything on the open, GNU is the basis, from being the default syntax to GCC being the reference toolchain.

1

u/Drfoxthefurry Oct 11 '26

X86 intel nasm Idk if it's the right order but it's what I'm used to

1

u/ilnarildarovuch Oct 11 '26

Eh... intel syntax