Lab Task 8 & 9( Conditional Structures in Assembly Language)
Lab Task 8 & 9( Conditional Structures in Assembly Language)
🔧 Objective:
To implement conditional structures in Assembly Language using MASM and the Irvine32
library. These tasks aim to develop logical thinking and control flow understanding using low-
level programming.
� Lab Tasks:
Write a program to input two integers and display the greater one.
Write a program to input two integers and display the smaller one.
A: 90–100
B: 80–89
C: 70–79
D: 60–69
F: <60
Task 6: Leap Year Checker
Write a program to verify whether the given number lies between 50 and 100 (inclusive).
Write a program to check whether a number (up to 100) is prime using basic logic.
Write a program to check whether a number is odd and lies between 1 and 99.
Write a program to input three sides and check whether they can form a valid triangle.
"Cold" if < 10
"Warm" if between 10–25
"Hot" if > 25
📌 Notes: