Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

need some help with assembly homework d) double word Use the following block of

ID: 3567388 • Letter: N

Question

need some help with assembly homework

d) double word Use the following block of statements to answer the next three questions: MOV BX, A69BH; MOVSX EAX, BX; MOVSX EDX, BL; MOVSX CX, BL; What is the content in the EAX register? What is the content in the EDX register? What is the Content in the CX regis How many bits arc required on the Bus to address the following memory sizes: 1MB 8MB 64MB 256 MB 512MB 1GB 4GB 8GB 32 GB How many bits are required on the Data Bust to transfer the following data between the memory and the processor: 4 Characters 8 Characters The character 'A' is represented is ASCII code as: 01000001. If the character is going to be sent using the Hamming Code, what are the four parity bits? P1 P2 P3 P4 P8

Explanation / Answer

1)

The number of bits required on the bus to address the following is as given below:

1 MB - 20 bits

8 MB - 23 bits

64 MB - 26 bits

256 MB - 28 bits

512 MB – 29 bits

1 GB – 30 bits

4 GB – 32 bits

8 GB – 33 bits

32 GB – 35 bits

2)

32 bits are required on the data bus to transfer 4 characters of data between the memory and the processor.

64 bits are required on the data bus to transfer 8 characters of data between the memory and the processor.

3)

Consider the ASCII code of alphabet ‘A’ as 01000001. The hamming code for this ASCII code consists of four parity bits. They are as follows:

P1 = 1

P2 = 0

P4 = 1

P8 = 1

4)

EAX = FFFFA69Bh

EDX = FFFFFF9Bh

CX = FF9Bh