You are on page 1of 6

Lab Task

Name:- Shehriyar Ahmad

Roll No:- BCSM-S19-015

Class:- BSCS-5A

Subject:- Assembly Language

Submitted To:- Sir Usman


Task: - 1
Program that multiplies the contents of AL by 8 using SHL instruction
Code: -

Output: -
Task: - 2
Program that reads a binary number, reverse its bit pattren and display it.
Code: -

Output: -
Task: - 3
Program that reads a binary number, stores it in BX and display it.
Code: -

Output: -
Task: - 4
Program that prompts the user to enter a character, and on subsequent lines
print its ASCII code in binary.
Code: -
Output: -

You might also like