blueroomelectronics
- Joined Jul 22, 2007
- 1,757
They were questions, not statements. I don't know what courses or school you're at so I cannot possibly answer them. But you could.
Nonsense because 2000H is greater than 0000H. An interrupt will never first go to an address greater than 2000H. The only way it could ever get there is a JMP instruction at one of the addresses mentioned below that jumps to a location in the address range 2000H 0FFFFH.Nonsense I dont think so,as per my post it has been said that the interrupt vector table (IVT) is located above 2000H which is in page 00H of 8085 ,I think its in a low memory region.
Here is a bit more on interrupts of 8085 the much I can remember.....
Interrupts are two types Vectored and Non Vectored.
Vectored are address of routines that are hardwired into the 8085 i.e.. the address location is known by 8085 for the interrupt service routine.
Non Vectored ,these type are the address of the routine that are supplied by external device to 8085.
Example the INTR input is a non vectored type interrupt and RTS 5.5 , RTS 7.5 ,RTS 6.5 are vectored type.
And the vector address are contained from address 0000H to 00FFH at page 00H ,some of them I remember is when you call restart instruction
like RST0 it jumps to memory location 0000H which is same as instruction "CALL 0000H" for RST1 it jumps to 0008H
So I think all these address are in low memory region and nothing is nonsense about it......
RST 0 --> 0x0000
RST 1 --> 0x0008
RST 2 --> 0x0010
RST 3 --> 0x0018
RST 4 --> 0x0020
RST 5 --> 0x0028
RST 6 --> 0x0030
RST 7 --> 0x0038
TRAP --> 0x0024
RST 7.5 --> 0x003C
RST 6.5 --> 0x0034
RST 5.5 --> 0x002C
Hi,The most convenient single byte instruction to force onto the 8-bit data bus is a single byte RESTART instruction.
Code:
RST 0 --> 0x0000
RST 1 --> 0x0008
RST 2 --> 0x0010
RST 3 --> 0x0018
RST 4 --> 0x0020
RST 5 --> 0x0028
RST 6 --> 0x0030
RST 7 --> 0x0038
RST0
TRAP 0024H
RST 5.5 002CH
RST 6.5 0034H
RST 7.5 003CH
In simple english "above then 2000H" means an address range from 0000H to 1FFFHNonsense because 2000H is greater than 0000H
Now here comes your strict sense,in that strict sense I have to change the meaning of interrupts in almost every modern microprocessor and microcontroller.In the strict sense they are not vectors since they do not point to an interrupt service routine.
More nonsense. Processors can and do use one of several methods to invoke interrupt processing.....
Now here comes your strict sense,in that strict sense I have to change the meaning of interrupts in almost every modern microprocessor and microcontroller.
Any way it will keep going like this and RRITESH will not get his answers so I stop here and in your sence you could call anything an interrupt
8085 simulator haere you go : http://www.oshonsoft.com/8085.htmlhi, please give 8085 stimulator link for viewing machine cycle & fetch,etc.
for easy understanding it.
& i want to know while converting decimal to hex decimal like 0F means 0015 or 00001111 in binary, but when 11 is hex no., how it is converted to decimal i.e. 16??
It have the answer for your question,i.e.. about addressing mode on that file look at part "6. The 8085 Addressing Modes"
6. The 8085 Addressing Modes
The instructions MOV B, A or MVI A, 82H are to copy data from a source into a
destination. In these instructions the source can be a register, an input port, or an 8-bit
number (00H to FFH). Similarly, a destination can be a register or an output port. The
sources and destination are operands. The various formats for specifying operands are
called the ADDRESSING MODES. For 8085, they are:
1. Immediate addressing.
2. Register addressing.
3. Direct addressing.
4. Indirect addressing.
Immediate addressing
Data is present in the instruction. Load the immediate data to the destination provided.
Example: MVI R,data
Register addressing
Data is provided through the registers.
Example: MOV Rd, Rs
Direct addressing
Used to accept data from outside devices to store in the accumulator or send the data
stored in the accumulator to the outside device. Accept the data from the port 00H and
store them into the accumulator or Send the data from the accumulator to the port
01H.
Example: IN 00H or OUT 01H
Indirect Addressing
This means that the Effective Address is calculated by the processor. And the
contents of the address (and the one following) is used to form a second address. The
second address is where the data is stored. Note that this requires several memory
accesses; two accesses to retrieve the 16-bit address and a further access (or accesses)
to retrieve the data which is to be loaded into the register.
Oshon's 8085 Simulator IDE have an integrated assembler,but I am not sure if the evaluation version also have it.Hi, in stimulation s/w of 8085 where to write program, i have readied it help file but don't find the answer
There is nothing wrong with that. You recognize you need help and that is a good thing.Have, but i am not getting it clearly.
but how to load it ??There is nothing wrong with that. You recognize you need help and that is a good thing.
Can you go to your teacher for extra help? What about another student? Maybe someone in a more advanced class? We call them tutors here.