Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

****** ASSEMBLY LANGUAGE ****** please solve me this exercise in assembly language codes Define the following arrays: -A byte type array named DONKEY with 4

****** ASSEMBLY LANGUAGE ******

please solve me this exercise in assembly language codes

Define the following arrays:

-A byte type array named DONKEY with 4 items 54,54h, 5Ch and 5Ah

-A word type array named FIONA with 5 items 90, 95h, 999h, 9A9Bh and 99Ah.

-A double-word type array named SHREK with 8 items initialized to 9999 in decimal.

Referring to the array definitions in Question 2, state the following values in the register:

a)

mov ax,FIONA+4

; ax =

b)

mov eax,SHREK

; eax =

c)

mov al,DONKEY+3

; al =

d)

mov eax,0

mov ax, FIONA

mov SHREK, eax

; SHREK =

-Referring to the array definitions , write a program to sum all the elements of array FIONA.

-Referring to the array definitions , write a program to sum all the elements of array SHREK using LOOP instruction.

****** ASSEMBLY LANGUAGE ******

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 Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions