20135323 Fu Yunjin--------Homework 3.60

Source: Internet
Author: User

20135323 and 20135321 co-completed

Resolution: A: Reference to A two-dimensional array

B: Assembly code parsing:

Line 1th: I

Line 2nd: J

Line 3rd: 9j

Line 4th: The value of I is assigned to edx

Line 5th: Shift the value of edx to the left by 64 bits, because 2^6=64

Line 6th: 64i-i=63i assigned to EdX

Line 7th: 63i+9j

Line 8th: 63i+9j+k

Line 9th: a+4 (63i+9j+k) equivalent to A+4 (i*s*t+j*t+k)

Line 10th: Assign the dest pointer to eax

Line 11th: dest points to%edx content

12th line: 2772 or a[r][s][t] Size

The code of the assembly indicates:

A+4 (63i+9j+k) equivalent to A+4 (i*s*t+j*t+k)

S*t = 63;

T = 9;

R*s*t = 2772/4;

So r=11, s=7, t=9.

20135323 Fu Yunjin--------Homework 3.60

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.