![]() |
VOOZH | about |
Problem: We are given a 16 bit decimal number we have to print the number in binary format
Examples:
Input: d1 = 16
Output: 10000
Input: d1 = 7
Output: 111
Explanation:
Program:
Output:
10000
Note: The program cannot be run on an online editor, please use MASM to run the program and use dos box to run MASM, you might use any 8086 emulator to run the program