Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions