Problem 5 –Implement .bss section in Assembly
1. Run the following assembly code
2. Use nasm and ld to generate the executable. Run it and analyze the code that reads from STDIN and prints on STDOUT. What is the purpose of variable name in .bss section?
3. Write assembly code that implements .bss section. Ask for a value, reads value from STDIN and prints the value on the STDOUT. Comment the read and write system calls and attach the screen captures with the commented assembly code and results
4. Write assembly code that compares two numbers and prints the minimum on STDOUT
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.