All assembly-language functions should have comments for readability/support purposes:
Minimally:
- To define the inputs and outputs of functions (and relevant data types).
- To explain any "magic numbers" used in the code.
And on more complex functions:
- To give an overview/description of how the function is implemented, so that flow can be followed easily.
All assembly-language functions should have comments for readability/support purposes:
Minimally:
And on more complex functions: