Discussion in "8051 Discussion Forum" started by    xrxx    Apr 30, 2020.
Thu Apr 30 2020, 10:59 AM
#1
BCD MULTIPLICATION
Assume that you have to 2 BCD numbers in 2 registers/memory locations.
Write a subroutine to multiply these 2 numbers and put the result in a different register set/memory location. The maximum number can be 9801 (99*99=9801). So you need 2 bytes to store 4-BCD digits.
Execute your program in the simulator and get screenshots at several steps during the execution.
Put your code and screenhots in a zip file seperately and submit the zip file as name_surname_id_hw1.zip
SWAP is good instruction to switch lower and higher nibbles (4-bits) in A.
Repeat the steps we follow on the paper.

Guys, can u help me for this? pleaseeeee

Get Social

Information

Powered by e107 Forum System

Conversation

Sun Aug 01 2021, 08:16 PM
Matthewtriva
FPlusLive
Sun Aug 01 2021, 06:17 PM
Mack Trask
Get free traffic to your website from these top sites: https://bit.ly/free-traffic-sites-for-2021
Thu Jul 29 2021, 11:24 AM
Pedrolew
Paigham Bot
Wed Jul 28 2021, 09:42 PM
GeorgeNer
InstagramPlus
Wed Jul 28 2021, 12:08 AM
Scrapernem
Scraper

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 57, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123