Questions tagged [8085]
An eight bit microprocessor made by Intel in 1976.
73
questions
0
votes
2
answers
55
views
How are status signals such as ALE set?
I am currently learning about the 8085 Microprocessor as a part of my coursework. When I was studying about Timing Diagrams, I got a doubt that, how are these status signals such as \$ALE\$, \$\...
3
votes
1
answer
187
views
How can memories be implemented efficiently with memory blocks of different sizes?
I am unsure if I am framing the question correctly, but here's what I wanted to ask.
Let's say we want to implement a 64 kB memory. We would require a 16-bit address if we have byte-addressable memory....
0
votes
1
answer
2k
views
How to write 8085 program to generate square wave,sawtooth, sine, triangular wave and ramp using DAC?
Edit-: I understood all programs now.
I want a general idea to write these programs. I know how to write square wave, as well as I know triangular wave. But I am not clear with them.
I am unable to ...
0
votes
1
answer
171
views
How do we specify the signal frequency while interfacing DAC 0800 with 8086?
I am relatively new to Microprocessors and just started with my uni course on the same. My faculty while discussing the question:
gave us the following solution:
What I don't understand here is how ...
0
votes
1
answer
75
views
simple microcontroller program but wrong result
This is my very first simple program on 8085 microcontroller, aiming to multiply 12*9
so I have written the code as follows:
...
1
vote
1
answer
237
views
Is the following 8085-based design I/O mapped or memory mapped?
The above picture is an 8085-based system schematic used for undergrad courses at the laboratory. Now at first sight it seems that the 8085 in the circuit is isolated mapped IO since it uses the IO/M' ...
0
votes
1
answer
65
views
Why is OUT0 incorrect?
The input frequency is 2 MHz and the output should be 2 kHz since I used mode 3 and the initial count value N=1000d.
The output frequency is 500kHz.
1
vote
1
answer
176
views
What happens in an 8085 if HOLD, READY, and RESET requests are received at the same time?
What happens if an 8085 microprocessor 8085 is executing a program and it gets a request from the Ready, Hold and Reset pins at the same time?
How will microprocessor respond?
0
votes
2
answers
597
views
Chip select for the ROM
An 8 Kbyte ROM with an active low Chip Select
input (CS') is to be used in an 8085 microprocessor based
system. The ROM should occupy the address range 1000
H to 2FFFH. The address lines are designed ...
1
vote
2
answers
1k
views
DAA operation in 8085 microprocessor
Let the content of register A is 98H. Both Auxiliary Carry flag and Carry flag are set i.e. AC=1 & Cy=1. If now I execute DAA once, both nibbles will get added with (0110) and the result is FEH ...
2
votes
1
answer
541
views
Why does the conditional CALL instruction in the 8085 microprocessor take 2 machine cycles, when the condition is not satisfied?
When the condition gets checked in the 6th T-state itself and is found to be not satisfying, why does it need the 2nd machine cycle?
0
votes
2
answers
179
views
8085 Microprocessor programming kit
When the power of the kit 8085 trading kit is turn on, UP-85 is displayed. How is it possible something is displayed even before entering anything?
0
votes
2
answers
103
views
8085 : Storing data in stack
In 8085 whatever address the stack pointer holds, we always start storing bytes from one less than this address .
Eg. If SP holds 2008H. We will store 16-bit data at 2007 and 2006H.
Why don't we store ...
0
votes
0
answers
160
views
8085;Condition CALL Instruction: if condition fails
In call instruction there are 5 machine cycles S,R,R,W,W (S is 6 T-states opcode fetch) and thus 18 T-states
In first machine cycle, t1-t4 is utilized for fetching the opcode and decoding it and t5-...
2
votes
2
answers
529
views
8085 ;JMP instruction
How exactly is JMP XXXXH; executed ?
First the PC(Program counter) will contain the address where this instruction is present. In first machine cycle opcode will be fetched and PC will be incremented ...
2
votes
1
answer
643
views
8085 ; High impedance state of lower order address/multiplexed data bus during memory read and write machine cycles
The two pictures are of memory read and write machine cycles . Could somebody please explain why in memory read cycle the lower order address / multiplexed data bus is in high impedance state at the ...
0
votes
1
answer
93
views
8085 SIM instruction don't care bit
While reading about the SIM in 8085 i came upon the accumulator state at the data pin 5 where when SIM instruction is executed we have to consider pin 5 of the accumulator to be don't care.
So I am ...
3
votes
1
answer
2k
views
8085; Why RET doesn't require a 6 T-states Fetch cycle?
The CALL instruction, requires 5 machine cycles, namely, OPCODE-FETCH, MEMORY READ, MEMORY READ, MEMORY WRITE, MEMORY WRITE. The ...
1
vote
1
answer
393
views
8085 μp; Why does Read cycle take 3 T-states and not 2?
In the text I'm following, R.S.Gaonkar it's explained that,
During T1, address in Program Counter(PC) is latched onto the Memory Address Register(MAR),
During the falling edge of T2 \$\overline{MEMR}...
1
vote
1
answer
117
views
8085 MPU; Stepping through an instruction (Timing diagrams)
Let me write the steps of ADD B, as I've understood it till now.
T0:
ALE goes high
Memory location(say \$2000_h\$) is taken from Program Counter to Memory Address Register(which points to the ...
0
votes
0
answers
161
views
What is the minimum size of that a segment can take in 8086? [duplicate]
I know that the minimum distance between any 2 segments is be 16 locations (10H) , but some say its 16 bytes , how is that possible if the the locations are of 2 bytes each. It would total to 32 bytes ...
0
votes
3
answers
712
views
If we can access (64*4) 256Kb of memory at a time in 8086 and you can move those segments around, what is the use of the remaining memory
If we can access (64*4) 256Kb of memory at a time in 8086 and you can move those segments around, what is the use of the remaining memory? Some say that we can move around the segments but what is the ...
0
votes
1
answer
860
views
Design an interfacing circuit/address decoding circuit to interface one 4KB EPROM and two 2KB R/W memory for 8085 microprocessor?
I don't know if this question is a good question to get answers or not but I am trying to honestly explain my situation.
I am studying 8085 microprocessor, so I am stumbled upon address decoding ...
-1
votes
2
answers
1k
views
how to write a 8085 assembly language to sort 5 data bytes in ascending order [closed]
Needed advise on how to program using 8085 simulator. tried many ways but could not get the answer
0
votes
1
answer
76
views
How do I produce WE in this diagram?
I have designed a memory system that has 10KB ROM followed by 6KB of RAM. The ROM begins at 0000H. I had to use two 4K x 8bit ROMs and one 2K x 8 bit ROM. I also have to use one 2K x 8bit RAM and a 4K ...
0
votes
1
answer
472
views
Is a multiplexer needed to read from memory
we need to enable a register to write into that register, which is done using a decoder.
even if we enable 1 register using decoder, given that RD(bar) is 0, all registers can still produce an output. ...
0
votes
1
answer
479
views
Microprocessor 8085 regains control of the bus
a) immediately after HOLD goes Low
b) immediately after HOLD goes high
c) after half clock cycle has passed once HLDS goes low
d) after half clock cycle after HLDA goes high
This question was asked ...
1
vote
1
answer
214
views
Building a simple manual Intel 8085 study kit
I am toying with the idea of building an Intel 8085 demonstration/study kit which would consist of an Intel 8085 microprocessor on a PCB, where all input nodes (including the clock X1, X2) would be ...
-1
votes
1
answer
1k
views
Why RST instructions are called one byte call instruction in 8085 [closed]
Why RST instructions are called one byte call instruction in 8085 ?
-1
votes
1
answer
1k
views
Parity flag in 8085 microprocessor
What happens to the parity flag of an Intel 8085 microprocessor when there is no '1' bit in the accumulator?
For example, if the following instruction executes,
MVI A, 05H
MVI B, 05H
SUB B
the ...
-1
votes
1
answer
5k
views
What is increment/decrement address latch in 8085
Can you please explain about increment/decrement latch in 8085. I am currently studying registers and encountered this in the array of register section.
Here are the things i found when i googled and ...
2
votes
1
answer
134
views
IO mapped IO design problem
While going through the solution of the above problem i noticed something like below.
Address of port A becomes 11100000. Can't get that. I am confused why it's not 01100000. Thank you!!
0
votes
1
answer
319
views
What is the best way to implement spi using 8085? [closed]
I have to make a compass using 8085. I have to take serial data from magnetometer of mpu9250. Should i prefer bit banging to implement spi or make parallel out and parallel in hardware using shift ...
0
votes
2
answers
4k
views
Why don't we have an instruction called LDAX H in 8085 microprocessor?
Whereas we have instructions such as LDAX B , LDAX D !!!
2
votes
2
answers
141
views
Microprocessor 8085
What is the need of enabling 8 bit register in memory using address bus to read data from it?Enabling is required to write data into register and after that to read can't we just provide read signal ...
-6
votes
1
answer
189
views
8085 Programming Basics
Bcz of CALL, SP will be decremented by 2. Then bcz of POP, SP will get incremented by 2. So, SP will be 27FFH. But, I am confused with HL register part. Please help me with the above problem.
1
vote
2
answers
175
views
Why is there no tri-state during T2 state of this machine cycle?
My teacher provided this as part of printed notes where he writes there is no tristate during the T2 state of Memory Write Cycle. I am quite confused about why it is so.
After a short search in the ...
0
votes
1
answer
2k
views
8085 - binary equivalent of MOV and it's corresponding timing diagram
I've got two questions here:
#1
The MOV A,B is said to be a one byte instruction, where B = 000 and A = 111, then MOV should be equal to 00, but, The binary representation of the BC Rp is 00. So, I'...
0
votes
1
answer
282
views
How to save carry bits in 8085?
Suppose two 16bits numbers are added in 8085, then there is a carry, so, how do I save the carry into a memory location?
0
votes
1
answer
773
views
8085 programming the ani instruction
Why is the AC flag set while using the ANI instruction in 8085:
MVI A, A3H
ANI 97H
HLT
The sign flag is set which is ...
1
vote
2
answers
14k
views
In microprocessor 8085, how can I clear/reset all flags(s,z,ac,p,cy) without affecting contents of accumulator? [duplicate]
I only know the code in which accumulator contents are affected. It is not a duplicate as I have asked for a solution which doesn't affect accumulator.
0
votes
1
answer
432
views
Why the address of 8085 interrupt are 8 locations apart and not in continuation
If it's for Interrupt Service Routine (ISR) in which microprocessor pushes the content of program Counter(PC) to stack and then loads the Vector address in PC and starts executing the ISR stored in ...
4
votes
2
answers
7k
views
What exactly is latch?
I've very less knowledge in electronics, I've read that a latch is a simple circuit that stores 1 bit of data (or state).
A Latch is a circuit that has two stable states and can be used to store ...
0
votes
3
answers
2k
views
Overflow results into wrong sign-flag bit set in 8085 microprocessor .
In case of 8085 microprocessor when the MSB bit of accumulator is 1 then sign flag becomes 1 ( simply copy the result's msb) , my question is that :
When we add two positive numbers say 44H(01000100) ...
0
votes
1
answer
482
views
HOLD signal in 8085
What happens to an 8085 system if a square wave signal of 1KHz frequency is applied to the HOLD signal of 8085?
The frequency of operation is 2MHz.
Therefore, if the every 0.5ms, the HOLD pin goes ...
11
votes
3
answers
2k
views
does 8085 CPU have an extra register within ALU?
From the 8085 CPU architecture, when ALU done calculation, the result is clocked back to accumulator A on next clock edge. But accumulator A is directly wired as ALU input, what if the clock edge didn'...
0
votes
1
answer
333
views
Slow clock for 8085
I want to find out if my purchased 8085 works. I'm thinking of:
pulling down the data bus and interrupt lines (equivalent to NOPs)
using a slow RC clock (1 Hz or so)
drive LEDs through BJTs with the ...
0
votes
3
answers
2k
views
Invalid opcodes
What happens when a microprocessor like the 8085 fetches an invalid opcode, i.e. not part of its instruction set, from memory and attempts to decode and run it? I found, in some forum, that invalid ...
3
votes
2
answers
2k
views
Building an Intel 8085 trainer
I'd like to build an Intel 8085 trainer for a final year project. The trainer will be used by students and will basically accept machine code entered by students, load these into RAM and run the code. ...
0
votes
2
answers
11k
views
How to determine no of bytes of an instruction of 8085 microprocessor?
Is there any logical way to understand no of bytes corresponding to an instruction in 8085 microprocessor? e.g: MOV A,M is a one byte instruction, but how, I don't understand.
Or do I have to ...