Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

HW6 Assembly Language Programming Due date October xx (will be declared in the class) 1. In digital signal processing, it is important to implement some

HW6 Assembly Language Programming Due date October xx (will be declared in the class)

1. In digital signal processing, it is important to implement some fast algorithms that make initial processing of a digitized signal stream.

In this programming assignment, the students have to write a subroutine that is used in digital signal processing to make a preliminary estimation of the noise level in the signal.

The subroutine, which counts the number of 1s in a word, must be based on an algorithm, where the passes through the loop are equal to the number of 1s. For example, if the word is 0010070F(16) your loop has to run 8 times and the count of 1s has to be 8.

(Hint: First significant operation in the loop should be decrement (subtract 1) the given word. What is the next? Read again about logical operations!!!).

2. Assembly program that implements the decoding algorithm of Hamming 1-bit error correcting code. In the following table, the first line is a word that is encoded in Hamming code (16 information bits, parity even bits P0-P4, Pall).

1

0

0

0

1

1

0

0

0

1

1

0

1

1

0

0

1

1

1

0

1

0

21

20

19

18

17

P4

15

14

13

12

11

10

9

P3

7

6

5

P2

3

P1

P0

Pall

Write a program that follows all steps of decoding:

Pall check (Pall calculated = or != Pall received).

Calculating of the Correcting Code.

Select the case: single error, double error, no errors.

In case of single error, correct the wrong bit.

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 Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions

Question

2. How will the team select a leader?

Answered: 1 week ago

Question

3. What may be the goal of the team?

Answered: 1 week ago