This assembly language program converts a binary number to decimal, octal, and hexadecimal representations.
The program prompts the user to enter a binary number (up to 16 digits) and provides options to convert it to decimal, octal, or hexadecimal. The converted values are then displayed on the screen.
- Run the program.
- Enter a binary number when prompted.
- Choose an option:
- Enter
1
to convert to decimal. - Enter
2
to convert to octal. - Enter
3
to convert to hexadecimal. - Enter
9
to exit the program.
- Enter
- The converted value will be displayed on the screen.
- Repeat steps 2-4 as desired.
- When finished, the program will display a thank you message and exit.
- DOS environment
- Clone the repository.
- Assemble and run the
QWF.asm
file using an assembly language compiler. - Follow the on-screen instructions to use the program.
- Saad Al-Tohamy
- Sohil Mohammed