This is the website I used to execute your code
https://www.tutorialspoint.com/compile_assembly_online.php
-----------------------------------------------
Here are the assembler messages it left. I don't know Assembly, so I don't really know what any of this means, but....
main.asm:1: error: parser: instruction expected
main.asm:2: error: parser: instruction expected
main.asm:3: warning: label alone on a line without a colon might be in error [-w+orphan-labels]
main.asm:4: error: parser: instruction expected
main.asm:6: warning: label alone on a line without a colon might be in error [-w+orphan-labels]
main.asm:7: error: parser: instruction expected
main.asm:9: error: comma, colon, decorator or end of line expected after operand
main.asm:15: warning: label alone on a line without a colon might be in error [-w+orphan-labels]
main.asm:16: error: symbol `main' redefined
main.asm:16: error: parser: instruction expected
main.asm:18: error: parser: instruction expected
main.asm:19: error: comma, colon, decorator or end of line expected after operand
main.asm:21: error: label or instruction expected at start of line
main.asm:29: error: symbol `GenerateRandomString' redefined
main.asm:29: error: parser: instruction expected
main.asm:31: error: parser: instruction expected
ld: cannot find *.o: No such file or directory
Hope this helps!