Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use visual studio 2019 Part 2: Write programs that perform the tasks listed below. Use only instructions that have been discussed in this and previous

image text in transcribed
use visual studio 2019
image text in transcribed
Part 2: Write programs that perform the tasks listed below. Use only instructions that have been discussed in this and previous experiments. Try to use as few lines as possible Q1. Add the three byte sized number located in the Data Segment at offset 300h 301h, and 302h together and put the result in memory location starting at offset 400h (MSB) and 401h (LSB). Test your program for these sets of numbers: 03h, 02h, 0Ah and OEFh, OEBh, OACH Q2. Calculate the factorial of number 6h (6!) and store the result at a memory location labeled FACT in the data segment at any select. offset you Q3. Calculate the following: Wordi Word: Doubleword/Word . Assume that Word 9988.Word: 30Ah, and Doubleword -100010h Part 2: Write programs that perform the tasks listed below. Use only instructions that have been discussed in this and previous experiments. Try to use as few lines as possible Q1. Add the three byte sized number located in the Data Segment at offset 300h 301h, and 302h together and put the result in memory location starting at offset 400h (MSB) and 401h (LSB). Test your program for these sets of numbers: 03h, 02h, 0Ah and OEFh, OEBh, OACH Q2. Calculate the factorial of number 6h (6!) and store the result at a memory location labeled FACT in the data segment at any select. offset you Q3. Calculate the following: Wordi Word: Doubleword/Word . Assume that Word 9988.Word: 30Ah, and Doubleword -100010h

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions