answersLogoWhite

0


Best Answer

Mvi c

lda 4150h

mov b,a

lda 4151

sub b

jnc loop

cma

inr a

inr c

sta 4152

mov a,c

sta 4153

hlt

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Subtraction of two 8 bit numbers using 8085?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why microprocessor 8085 has 16 bit address lines?

Because that's how Intel designed it. The 8085 is an 8-bit computer operating on a 16-bit address space.


Subtraction of two 8 bit numbers in 8085?

Mvi a, 04h 3e mvi b, 04 h 04 add b 06 sta 2050 04 hlt 80 32 50 20 76


Why the 16 bit 8085 microprocessor is not possible?

The 8085 was replaced with the 8086/8088. As such, there is no 16 bit version of the 8085.


Write a program to add two 8 bit numbers in microprocessor 8051?

write it in 8085


Addition and subtraction of two 16 bit numbers using 8085 microprocessor?

The 8085 is an 8-bit computer, with only limited capability to do 16 bit arithmetic. In order to add two 16-bit numbers, NUM1 and NUM2, together, and store the result at NUM3, you can use the code... LHLD NUM1 XCHG LHLD NUM2 DAD D SHLD NUM3 If you want to subtract NUM1 from NUM2, you need to take the two's complement first, by inverting it and adding one... LHLD NUM1 MOV A,H CMA MOV H,A MOV A,L CMA MOV L,A INX H ... and then continue with adding NUM2... XCHG LHLD NUM2 DAD D SHLD NUM3


How many address bits does 8085 have?

The 8085 has a 16 bit address bus.


How many bits in 8085 microprocessor?

The 8085 is an 8-bit microprocessor. Even though there are some 16-bit registers (BC, DE, HL, SP, PC), with some 16-bit operations that can be performed on them, and a 16-bit address bus, the accumulator (A), the arithmetic logic unit (ALU), and the data bus are 8-bits in size, making the 8085 an 8-bit computer.


How can a given number can be checked as even or odd in 8085?

AND it to 1 and test for zero. All even numbers have 0 in the last bit.


What is the Overview of 8085 microprocessor?

8085 is a 8 bit microprocessor designed by Intel Co.


What is a 8085 microprocessor?

with neat diagram explain the system bus structure of 8085


How many 8 bit register in 8085?

There are seven 8 bit registers in the 8085. A, B, C, D, E, H, and L


How many bits a 8085 can process at a same time?

Generally, 8 bits at a time. Some instructions deal with 16 bit numbers.