9:53 AM
Write a program to multiply two 8 bit numbers by repetitive addition method in 8085 simulator
Aim: 8085 Basic Program on simulator.
i. Write a program to add two 8-bit numbers.
 
Requirements: 8085 Simulator
 
Learning Objectives: Use of 8085 simulator to perform basic assembly programs.
 
Outline of the Procedure:
 
1. Open simulator on your laptop.
2. Write the given code.
3. Save the file.
4. Assemble the code and check error, if error remove it and again assemble it.
5. Execute the code and verify the results.
 
 
Address               Machine Code          Label Mnemonics Operands Comments
                                            
2000               3A              LDA 3000h
2001               00
2002               30
2003               5F              MOV E, A
2004               16              MVI D, 00h
2005               00
2006               3A              LDA 3001h
2007               01
2008               30
2009               4F              MOV C,A
200A               21              LXI H, 0000h
200B               00
200C               00
200D               19              KK DAD D
200E               0D              DCR C
200F               C2              JNZ KK
2010               0D
2011               20
2012               22              SHLD 3002h
2013               02
2014               30
2015               EF              RST5
Views: 104 | Added by: vijoriya | Tags: Numbers, Multiply, repetitive addition, Method, Simulator, program, 8085, 8 bit | Rating: 0.0/0
Total comments: 0
avatar