05 Task Performance 1.1
05 Task Performance 1.1
05 Task Performance 1.1
Task Performance
Procedural and Loop Instructions
Objectives:
Instructions:
1. Construct a simple assembly language program that would satisfy the following
conditions: (6 items x 5 points)
The program should accept a single-digit input, from 0 to 9.
Compare the single-digit input to 5.
Prompt the user whether the input is below, equal, or above the value 5.
Utilize compare and jump instructions.
The program should contain at least one (1) procedure that is called and executed.
Add comments in the important sections/code segments of your program.
Note: Write your code in https://www.jdoodle.com/compile-assembler-nasm-online. If the emulator is currently not available,
you may utilize any online assembler/compiler/emulator, as long as your program satisfies the six (6) conditions stated above.
The instruction set of online assemblers/compilers/emulators may vary.
2. Explain the structure of your program using 4-7 sentences. (10 points)
3. Include a screenshot of the output of your program. (10 points)
4. Include in your answer sheet all the assembly language code of your program.