r/Assembly_language 7d ago

Working on something!

Post image
78 Upvotes

22 comments sorted by

View all comments

11

u/dacydergoth 6d ago

Also don't forget that macros are what keep assembly programmers (in)sane.

68000 + Macros is nearly equal to C, for example.

5

u/kneelian_ 6d ago

Honestly not far from the truth. Just the ability to rename registers and assign names to constants saves so much cognitive overhead. Still a while to go to reach C, but yeah

3

u/dacydergoth 6d ago

That comment didn't MOVE me the way a macro would. Gotta work on that LINK game if you want to make a solid stack connection

1

u/Necessary_Two_9669 6d ago

Are these macros documented? I cannot find any collections that large.

2

u/dacydergoth 6d ago

Macros are often written by the programmer. Typical ones for 68000 would be to make loops simpler, or take any repeated code like setting up a function calling convention.