answersLogoWhite

0


Best Answer

its munch, my program will add two 8-bit no. and store ina memory location

MVI 20H //copies 20h to accumulator

ADI 30H //adds 30h with the content of accumulator

STA 3000H //store result in 3000h lpcation

HLT //stop operation

this operation also can be done with taking the values from memory location as

LDA 2000H //loads accumulator with contents of 2000h location

MOV B,A //copies the content of accumulator to register B

LDA 2001H //loads acc with the content of 2001h

ADD B //adds acc with content of register B

STA 3000H //stores result in location 3000h

HLT //stops operation

and there are further many ways to perform the same dependent on many conditions such as carry etc.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

Mov a,#08
mov b,#02
add a,b
mov dptr,#4500
movx @dptr,a
h1:sjmp h1

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Lda 9000

mov b,a

lda 9001

mvi c,00

add b

jnc next

inr c

next : sta 9002

mov a,c

sta 9003

hlt

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

( bINARY EQV OP CODE)

MVI 20H ( 3E 20)

MVI 10H (06 10)

ADD B (80)

STA 2030 (32 30 20)

HLT (76)

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Mvi a,80

mvi b,85

add b

hlt

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program to add two 8 bit numbers in microprocessor 8086?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Could you Write a program for 8086 microprocessor that displays on the monitor the average of 2 numbers from an array?

How to write a program for mouse in microprocessor?


Assembly language program for string concatenation using 8086 microprocessor?

write program to concatenating two sting in 8086 assembly language


How do you write Ascending order program using 8086 microprocessor?

One many find this answer on YouTube. One also may find out how to write ascending order programs using an 8086 microprocessor by looking at the owners manual.


Which microprocessor accepts the program written for 8086 without any changes?

Which microprocessor accepts the program written for 8086 without any changes?


Write a program to multiply two 8 bit numbers in microprocessor 8086?

mov ax,1234hmov bx,03hmul bxhlt( "THIS IS THE PROGRAMM CODING FOR 8 BIT 2NUMBERE'S MULTIPLICATION


8086 assembly program to sort a list of integers?

assembly language program for sorting an array using 8086 microprocessor.


How manyNumber of pins are present in 8086 microprocessor?

The 8086 microprocessor has 40 pins.


Can a program written in 8085 microprocessor run in 8086 microprocessor?

No. They have a different instruction set. However, the processors are sufficiently similar that an 8086 assembler could assemble an 8085 program, given appropriate constants and macros. Some things, however, such as RIM, SIM, RST, etc. do not have equivalents in the 8086.


What is the meaning of postfixes of 8086?

It is mightily referring to Microprocessor 8086 . I think you saw "8086 microprocessor". The 8086 is nothing it indicates the number of microprocessor same as Digital or analog ic's . 8086 microprocessor has 20 Address buses and 8 data buses which has 1 Mb inbuilt memory for performing several type of airthmatical and logical operation.


What is queue status 8086?

queue of 8086 microprocessor is 6 bits


Which IC is used as clock generator in 8086?

The 8086 Microprocessor operate to require frequency that is provided by clock generator to 8086 Microprocessor and also Synchronization various component of 8086.


Purpose of program counter in a microprocessor is?

In 8085 program counter stores the address of the next instruction which is to be fecthed.same function is performed by instruction pointer in 8086.