0% found this document useful (0 votes)
83 views1 page

05 Task Performance 1.1

Uploaded by

jmfresado08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views1 page

05 Task Performance 1.1

Uploaded by

jmfresado08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

IT2104

Task Performance
Procedural and Loop Instructions
Objectives:

At the end of the exercise, the students should be able to:

 Write a simple program that uses a procedural call.


 Demonstrate jump instructions via flag conditions and compare instructions.

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.

Grading rubric for program conditions:


Criteria Performance Indicator Points
Accuracy The code segment satisfies the specific 3
condition stated in the problem.
Program The code segment representing the given 2
Structure condition was written in an organized manner.
TOTAL 5

Grading rubric for short essay:


Criteria Performance Indicator Points
Content The explanation was comprehensively stated 7
and matches the assembly program.
Organization The idea was presented in an organized manner. 3
TOTAL 10
Note: DO NOT COPY AND PASTE. Students who copy and paste their work from any website or their classmates will automatically receive a failing mark for this assessment task.

05 Task Performance 1.1 *Property of STI


Page 1 of 1

You might also like