Language:EN
Pages: 5
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
read the value from user input calculate sum

Read the value from user input calculate sum

Comp 3350: Computer Organization & Assembly Language HW # 5: Theme: Data Definitions, Addressing Modes, Arrays All main questions carry equal weight.

(Credit awarded to only those answers for which work has been shown.)

1.
Variable
C7h

Dog

0x0065A201

34h
12h
E1h
D1h

0x0065A205

C1h

0x0065A206

A1h
22h
00h
00h
00h
beta DWORD

3B2C791Ah, 0A577163Dh

gamma

computation: 2 points * 6

;Immediate

mov eax, 1C2Fh

;Immediate

mov [gamma], eax

;Direct [gamma] = [0x00404010] = 1C2Fh

mov eax, beta[esi]

;Indirect-offset eax = 0xA577163d

mov eax, 4[ebx][esi]

exit

3.

.data

Array1 WORD 7h, …

Array2 WORD 1h, 2h, 2h, 4h, 4h, 6h, 6h, 8h, 8h

Then the expected result stored in Array3 should be:

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : Mary Smith

PageId: DOC69BD540