Question: Using a pic18f4321 Develop software in assembly language to multiple two unsigned 8 bit numbers yielding a 16 bit result. (You must use the algorithm
Using a pic18f4321

Develop software in assembly language to multiple two unsigned 8 bit numbers yielding a 16 bit result. (You must use the algorithm described in the lab.) NOTE: YOU MAY WORK INDEPENDENTLY OR IN TEAMS OF 2 STUDENTS. YOU MAY GIVE ADVICE TO OTHER GROUPS WITHOUT PENALTY BUT YOU MAY NOT SHARE YOUR SOFTWARE. TEAMS SUBMITTING ESSENTIALLY THE SAME SOFTWARE WILL ALSO SHARE POINTS. TO COMPLETE THIS LAB: (Outside of Lab) Develop the assembly language code to do a fast multiply using the algorithm described below. (You cannot use the assembly language multiply instructions.) NOTE: All code must be your own work and all work must be well commented.) 1. NOTE: Your algorithm will make use of the SRAM in the PIC to store all critical values. You will use the addresses as described below for your algorithm: 0x00 Multiplicand (High 8 bits) 0x01 Multiplicand (Low 8 Bits) 0x02 Multiplier 0x03 Loop counter 0x04 Solution (low 8 bits) 0x05 Solution (high 8 bits) Develop software in assembly language to multiple two unsigned 8 bit numbers yielding a 16 bit result. (You must use the algorithm described in the lab.) NOTE: YOU MAY WORK INDEPENDENTLY OR IN TEAMS OF 2 STUDENTS. YOU MAY GIVE ADVICE TO OTHER GROUPS WITHOUT PENALTY BUT YOU MAY NOT SHARE YOUR SOFTWARE. TEAMS SUBMITTING ESSENTIALLY THE SAME SOFTWARE WILL ALSO SHARE POINTS. TO COMPLETE THIS LAB: (Outside of Lab) Develop the assembly language code to do a fast multiply using the algorithm described below. (You cannot use the assembly language multiply instructions.) NOTE: All code must be your own work and all work must be well commented.) 1. NOTE: Your algorithm will make use of the SRAM in the PIC to store all critical values. You will use the addresses as described below for your algorithm: 0x00 Multiplicand (High 8 bits) 0x01 Multiplicand (Low 8 Bits) 0x02 Multiplier 0x03 Loop counter 0x04 Solution (low 8 bits) 0x05 Solution (high 8 bits)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
