subject

In this problem you are designing a calculator to calculate the min and max values among several given number. assume the given numbers are located in file registers starting with reg20 to reg30. assume all input values are 8-bit unsigned numbers greater than zero. complete the following codes:
(i) write a program that reads the content of registers reg20 to reg30. a zero register indicates the last input value. the number of non-zero entries must be recorded in a register called num_reg (reg40).
(ii) find the smallest input value. the smallest number must be recorded in reg41 and called min_reg.
(iii) find the largest input value. the largest number must be recorded in reg42 and called max_reg.
write the code in pic18 assembly language using mplab. use the (77 ) as reg20.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
The two main ways in which marketers address the competition with their strategies are by satisfying a need better than a competition and by
Answers: 2
question
Computers and Technology, 22.06.2019 18:30
The "instance" relationship shows that something is an object of a
Answers: 1
question
Computers and Technology, 23.06.2019 10:50
Your friend kayla is starting her own business and asks you whether she should set it up as a p2p network or as a client-server network. list three questions you might ask to kayla decide which network to use and how her answers to those questions would affect your recommendation.
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
You know the right answer?
In this problem you are designing a calculator to calculate the min and max values among several giv...
Questions
question
Mathematics, 29.10.2019 17:31
question
Mathematics, 29.10.2019 17:31
question
English, 29.10.2019 17:31
question
Computers and Technology, 29.10.2019 17:31
question
Mathematics, 29.10.2019 17:31
Questions on the website: 13722363