Conversion_between_Binary_and_Decimal
Write an assembly program converting an 8-bit unsigned binary toits decimal and converting a positive decimal to its 8-bitbinaries.The purpose is to understand the number system concept.please use assembly language (.asm) file, executable inmicrosoft visual studio. Your program should be runlike the following:
>>> Please select the conversion type: 1. Binary to Decimal 2. Decimal to Binary 3. Exit Erter your choice: 1 Please Enter 8-bit binary digits (e.g., 11110000): 10001001 The decimal integer of 10001001b is 137d >>> Please select the conversion type: 1. Binary to Decimal 2. Decimal to Binary 3. Exit Erter your choice: 2 Please Enter a decimal integer less than 256: 137 The binary of 137d is 10001001b >>> Please select the conversion type: 1. Binary to Decimal 2. Decimal to Binary 3. Exit Enter your choice: 3 Bye. Press any key to continue
Conversion_between_Binary_and_Decimal Write an assembly program converting an 8-bit unsigned binary to its decimal and c
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am