this script will help you to compile assembly code into executable file without writing a lot of commands in terminal put this script with your assembly code file, and to learn how to do this read below how to.
Compile Without Executing Output File
./ass_assembly.sh filename
Compile With Executing Output File
./ass_assembly.sh filename run
Do not write the extension after file name
Instead of this go inside the script file and change format_original_asm`s value.