Question: Write a PIC18F assembly language program at address 0x150 to compute (XY+Y) where X and Y are two 8-bit unsigned numbers already stored in data
Write a PIC18F assembly language program at address 0x150 to compute (XY+Y) where X and Y are two 8-bit unsigned numbers already stored in data registers 0x20 and 0x21 respectively. Store the 16-bit result in data registers 0x22 (High byte) and 0x21 (Low byte). Do not forget to write comments please.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
