Hi, please tell why above this memory are interrupt vectors, and what the use of it??

Click to expand...

Its a big story,you need to know many things before learning interrupts.In short Interrupts are events both hardware (external device called) and software (user called).Think it as a routine(assembly sub routine or function),which could be called any time during the normal execution of your code and when it is called it stop the normal execution of the user program and executes the interrupts function or code and when its done it return backs to the program execution from where it was called.

I remembered a bit more, I think the above memory not only contains the interrupt vector table but also 8085 used external memory and we use to map it in two part ROM and RAM and the ROM could be of 8K in size and that gives us the address from 0000H to 2000H.So your code starts from 2nd page i.e.. from 2000H in RAM.

I am not very much sure about it, you should have a look at the datasheet.

Hi, i am talking about 8085 training kit, please tell how to study good programming of this old processor??

Click to expand...

8085 is very old and as per me you should go for any other mcu.I started with PIC from Microchip but if you are looking something like 8085 go for 8051,8052,8053 arch.. from Atmel.

Nonsense. The interrupt vectors for the 8085 are all in low memory and could be invoked by jamming an RST (RESTART(?)) instuction onto the databus. In addition to the RST 0 through RST 7 instuctions carried over from the 8080 there were three pins called RST7.5, RST6.5, and RST5.5 that when activated provided additional locations for interrupt service routines.

The reason for putting user code at an address like 0x2000 is that the board probably has either data or code in low memory that serves as a monitor or bootloader. CPM/2.2 used to load programs at 0x0100 reserving page 0 for system stuff.

Its a big story,you need to know many things before learning interrupts.In short Interrupts are events both hardware (external device called) and software (user called).Think it as a routine(assembly sub routine or function),which could be called any time during the normal execution of your code and when it is called it stop the normal execution of the user program and executes the interrupts function or code and when its done it return backs to the program execution from where it was called.

Click to expand...

Hi, i have study some basic of it accumulator, registers,etc. but i want to go in deep in it.
i don't know why interrupt are used like Trap, intr 7.5,6.5,5, etc?? and time cyle how it work??

Nonsense. The interrupt vectors for the 8085 are all in low memory and could be invoked by jamming an RST (RESTART(?)) instuction onto the databus. In addition to the RST 0 through RST 7 instuctions carried over from the 8080 there were three pins called RST7.5, RST6.5, and RST5.5 that when activated provided additional locations for interrupt service routines.

The reason for putting user code at an address like 0x2000 is that the board probably has either data or code in low memory that serves as a monitor or bootloader. CPM/2.2 used to load programs at 0x0100 reserving page 0 for system stuff.

Click to expand...

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.

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......

I have seen many PDF but i want to know exactly why memory starts from 2000H & why we interrupt the uP like trap,etc??

Click to expand...

This is a qualified guess. Due to the layout of the 8085 like reset vector at 0x0000h it was most practical to have the ROM. At the lower address range. Then some RAM at the higher addresses. It is the system designer who placed the RAM at address 0x2000. If your system is some sort of trainer. It will be very awkward to have user programs in the ROM. It will make programming a nightmare. I know as I have programmed embedded Z80 systems with EPROMS back in the days before flash. Therefor in your system the BIOS and other system related code is placed in the ROM starting from 0000. And the user RAM which can be used to entering user programs is placed at address 0x2000. Why the user RAM is placed at 0x2000 you must ask the system designer about. I have no idea.

Hi, i have study some basic of it accumulator, registers,etc. but i want to go in deep in it.
i don't know why interrupt are used like Trap, intr 7.5,6.5,5, etc?? and time cyle how it work??

Click to expand...

Those features can be used for a wide variety of tasks. In the simplest example I can think of imagine a program which has a list of task to perform. It moves from task to task on its list performing one after the other. When it gets to the end of the list it starts over again at the beginning.

Now suppose there is some occurrence which requires the processors immediate attention. If the RST6.5 line is asserted then the processor will finish the current instruction and insert a subroutine call to the RST6.5 handler. This handler will perform some function and return to the "calling" program at the instruction that would have been executed it the interrupt had not occurred.

You have to learn to crawl before you can walk, and walk before you can run. From your postings I have a feeling that you are still on the crawl level then it comes to the 8085. So my advice to you is allow yourself to have a learning curve. Start simple and then you are confident take a step up. Interrupts are not that difficult. But it is reason for that interrupts always are one of last topics in most CPU courses. Trying to learn all at once will only confuse you

You have to learn to crawl before you can walk, and walk before you can run. From your postings I have a feeling that you are still on the crawl level then it comes to the 8085. So my advice to you is allow yourself to have a learning curve. Start simple and then you are confident take a step up. Interrupts are not that difficult. But it is reason for that interrupts always are one of last topics in most CPU courses. Trying to learn all at once will only confuse you

Click to expand...

Hi, then please tell what the diffeence in registers pair BC,DE,HL & why we prefer to store memory or data contents in HL pairs??