x86 Assembly program using [login to view URL],

Mbyllur Postuar 2 vite mё parё Paguhet në dorëzim
Mbyllur Paguhet në dorëzim

Using the flat assembler (fasm), write a program that converts an 8-bit integer to binary and hexadecimal using bitwise operators. Do not use external functions. You may use the algorithm below.

Ask user to enter a number 0 - 255 and store into Num

Algorithm to convert Value to binary:

(1) Set Count to 0. Move Num into a variable named Temp

(2) Move Temp into EAX then AND EAX with 128 (binary 10000000)

(3) if result is zero, output "0"

(4) if result is not zero, output "1"

(5) shift Temp left one digit

(6) increment Count

(7) if Count < 8, jump to step (2)

Algorithm to convert Value to hexadecimal:

(1) Move Num into a variable named Temp

(2) shift Temp right 4 digits to isolate left 4 digits

(3) if Temp <=9, print Temp

(4) if Temp >=10, add 55 to Temp and print the ASCII character

(5) Move Num into a variable named Temp

(5) AND Temp with 240 (binary 00001111) to isolate right 4 digits

(6) if Temp <=9, print Value

(7) if Temp >=10, add 55 to Temp and print the ASCII character

Example output

This x86 assembly program converts an integer to binary and hex.

Enter an integer from 0 - 255: 73

Binary: 01001001

Hex: 49

x86/x64 Assembler Programim në gjuhën Assembly Programim në gjuhën C++ Programim C Arkitekturë softuerësh

ID Projekti: #30998578

Rreth projektit

9 propozimet Projekti në distancë Aktiv 2 vite mё parё

9 profesionistë freelancer dërguan një ofertë mesatare prej $25 për këtë punë

buildorbust

hi..............................................................................................................................................................

$20 USD për 1 ditë
(199 Përshtypje)
6.7
nourreddinebenme

hello sir i have good experience in fasm when i complete ur project i will send you video for checking then you can accept my bid feel free to message me

$20 USD për 1 ditë
(143 Përshtypje)
6.2
Muhammadsamran

Hello Sir/ Ma’am A skilled full stack developer, I have rich experience in JAVA,C, C++, C#, Python, .NET , MYSQL, SQL, IONIC , MATLAB, ANDROID,PHP and ARDUINO. I am very confident with my skills and I'd like to hel Më shumë

$20 USD për 1 ditë
(27 Përshtypje)
5.4
fahdhtolba

Hello , I have bachelor's degree in computer science and i have been programming in C/C++ for more than 6 years. I have written various network applications some of which are down to the IP packet level, and have writ Më shumë

$50 USD për 2 ditë
(8 Përshtypje)
5.0
fredericomba

Hello. I'm familiar with the FASM assembler and the FreshIDE, and I can do this project for you. Let's chat in order to do business.

$30 USD për 7 ditë
(14 Përshtypje)
3.5
faizanmaqbool695

Hi,Hope you are doing well! I have checked your requirement, yes I can do it, because I already work on similar requirement in past. If you have interested in my proposal, please contact me. I will do my best in order Më shumë

$20 USD për 2 ditë
(1 përshtypje)
2.6
sdaniels4

Sounds like a fun project: I already have significant experience (from 2012) of writing simple software in x86 assembler to boot from a floppy and run on a PC with no OS other than the Bios: it was fun at the time. On Më shumë

$30 USD për 100 ditë
(2 Përshtypje)
2.1
yanghwang708

******* HIGH QUALITY and IMMEDIATE WORK ********* Hi, dear client! I'm so happy to bid on your Fasm project. I have read your requirements carefully and feel confident to finish this task well in tight deadline. I hope Më shumë

$20 USD për 3 ditë
(2 Përshtypje)
1.8
drankavw

Greetings! I can deliver a fully comment code quickly, using the provided algorithms (there is an error in the second, however).

$19 USD për 1 ditë
(1 përshtypje)
0.8