Questions tagged [8085]

The Intel 8085 is an 8-bit CPU from the 1970's. Use this tag for queries regarding assembly code written for 8085.

The Intel 8085 processor was introduced in the late 1970's as an improved version of the then popular 8080 CPU.

It was soon succeed by the 16-bit 8086, the first x86 processor.

113 questions
-1
votes
2 answers

working of stack in 8085 microprocessor

If in 8085, SP=0000H, which registers in which memory locations will be stored if PUSH B instruction is executed? Will it be that register B content will be stored at FFFF and C at FFFE?
js306
  • 11
  • 2
-2
votes
1 answer

Assembly code 8085 to separate odd number from a given list of number and store them into a new list

LXI H, 2200H LXI D, 2300H MVI C, 32H BACK: MOV A, M ANI 01H JNZ SKIP MOV A, M STAX D INX D SKIP: INX H DCR C JNZ BACK HLT with…
-2
votes
1 answer

How to add four data bytes using Stack in Intel 8085?

I need to add 4 bytes of data 03H, 02H, 05H, 01H using the stack and store the result in 3350H in the i8085 microprocessor. The data bytes come from 4 contiguous memory locations starting 3300H. How to go about doing this? So far I have done…
Pallab Ganguly
  • 3,023
  • 2
  • 10
  • 10
-2
votes
2 answers

(Assembly - 8085) Multiply 32 bit numbers

me and my friend are trying to write a code in which we need to multiply two 32 bit numbers resulting in a 64 bit number. We wanted to multiply the numbers using the add method, the problem is that register can only store 8 bits (16 bits a pair) at…
Gonçalo
  • 3
  • 1
  • 2
-2
votes
1 answer

How increment and decrement "arithmetic operations" can be performed in any one of the registers in 8085?

AFAIK, arithmetic and logical operations are performed with the contents of the accumulator , and the results are stored in the accumulator. Then how increment and decrement arithmetic operations can be performed in any one of the registers or in a…
haccks
  • 104,019
  • 25
  • 176
  • 264
-2
votes
1 answer

assembly program to find the smallest among two numbers

how do i assembly program to find the smallest among two numbers. assuming that first number is located a memory address : 0x2001 second number is located a memory address : 0x2002 store the smaller number in Accumulator Here is what i attempted…
Parimal Raj
  • 20,189
  • 9
  • 73
  • 110
-3
votes
1 answer

Explain the 'MULTIPLE ENDING SUBROUTINE' in 8085

A subroutine is a group of instructions that will be used repeatedly in different locations of the program. Rather than repeat the same instructions several times, they can be grouped into a subroutine and than called at different locations... it…
-6
votes
1 answer

An 8255 IC is interfaced to 8086 microprocessor

An 8255 IC is interfaced to 8086 microprocessor .Assume the address of 8255 PORT B to be 0091H, Write down the addresses of Control PORT, PORT A and PORT C? I am confused with the above question .Please help guys.
1 2 3 4 5 6 7
8