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

![will perform 5 * X + 6 * Y + [Y/2] t[](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f38b3bc10df_92366f38b3b5b6c9.jpg)
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
Get step-by-step solutions from verified subject matter experts
