Assembly code tends to be incredibly messy when there are no proper rules for organizing the code. Can anybody suggest some useful techniques for code organization, including macros, procedures, etc?
Try to use the rules of the Structured programming - the usual tool for avoiding such problems.