Đã Đóng

x86 Assembly program using [login to view URL],

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

Kĩ năng: x86/x64 Assembler, Lắp ráp, Lập trình C++, Lập trình C, Kiến trúc phần mềm

Xem nhiều hơn: access database exe using, write program student information system using database, open notepad exe using vb6 pass parameters, run exe using browser, write program adds large integers using linked lists, program adding large integers using array, program manages employee information using swing java, write program will sum integers using pointers, program hide task manager using vbasic, sample program inventory controller system using, using x86 assembly, build program generate fake traffic using php scripting, program client iterative server using tcp, swf exe using adobe, program post classified website using, program producer consumer problem using unix, program code vehicle tracking using gps gsm, java program library management system using sql, program library management system using, assembly language program for digital clock using 8086

Về Bên Thuê:
( 1 Nhận xét ) Irving, United States

ID dự án: #30998578

9 freelancer chào giá trung bình$25 cho công việc này



$20 USD trong 1 ngày
(199 Nhận xét)

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 trong 1 ngày
(143 Nhận xét)

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 Thêm

$20 USD trong 1 ngày
(27 Nhận xét)

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 Thêm

$50 USD trong 2 ngày
(8 Nhận xét)

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 trong 7 ngày
(14 Nhận xét)

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 Thêm

$20 USD trong 2 ngày
(1 Nhận xét)

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 Thêm

$30 USD trong 100 ngày
(2 Nhận xét)

******* 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 Thêm

$20 USD trong 3 ngày
(2 Nhận xét)

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

$19 USD trong 1 ngày
(1 Nhận xét)