Question: (10pts) Write a PIC program: Uting a loop. Write a PIC18 assembly program that multiplies by 4 the contents of each memory location starting from
(10pts) Write a PIC program: Uting a loop. Write a PIC18 assembly program that multiplies by 4 the contents of each memory location starting from 0x230 until 0x235. The result of each multiplication is saved starting from locations Ox330. So the contents of X230 is multiplied by the result is saved in 0.330 and 0.031. Then the contents of 01231 is multiplied by the results saved in 0.032 and 333. And so on. You must a loop (10pts) Write a PIC program: Uting a loop. Write a PIC18 assembly program that multiplies by 4 the contents of each memory location starting from 0x230 until 0x235. The result of each multiplication is saved starting from locations Ox330. So the contents of X230 is multiplied by the result is saved in 0.330 and 0.031. Then the contents of 01231 is multiplied by the results saved in 0.032 and 333. And so on. You must a loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
