Question: 5. Write a PIC18F assembly language program at address Ox100 that will perform 5 * X + 6 * Y + [Y/2] t[ 0x71][0x70], where

 5. Write a PIC18F assembly language program at address Ox100 thatwill perform 5 * X + 6 * Y + [Y/2] t[

5. Write a PIC18F assembly language program at address Ox100 that will perform 5 * X + 6 * Y + [Y/2] t[ 0x71][0x70], where X is an unsigned 8-bit number stored in data register 0x40 and Y is a 4-bit unsigned number stored in the upper 4 bits of data register 0x50. Discard the remainder of Y/2. Save the 16-bit result in 0x71 (upper byte) and in 0x70 (lower byte). a. Flowchart the problem. b. Convert the flowchart to PIC18F assembly language program starting at address Ox100. 5. Write a PIC18F assembly language program at address Ox100 that will perform 5 * X + 6 * Y + [Y/2] t[ 0x71][0x70], where X is an unsigned 8-bit number stored in data register 0x40 and Y is a 4-bit unsigned number stored in the upper 4 bits of data register 0x50. Discard the remainder of Y/2. Save the 16-bit result in 0x71 (upper byte) and in 0x70 (lower byte). a. Flowchart the problem. b. Convert the flowchart to PIC18F assembly language program starting at address Ox100

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!