Claims
- 1. An information processing system having a memory protection function comprising:
- processing means for processing information;
- memory means for storing the information processed by said processing means;
- address means for generating first address data to specify an area in said memory means, the first address data including upper address bits and lower address bits;
- means for storing second address data for protecting a predetermined area in said memory means, the second address data including address bits corresponding to the upper address bits of the first address data;
- first control means for controlling said storing means to store new second address data in response to predetermined address data supplied from said processing means;
- comparing means for comparing the upper address bits of the first address data generated by said address means and the second address data stored in said storing means, and for generating a comparison result; and
- second control means connected to said processing means for applying a signal to said processing means, which indicates that memory access by said processing means is prohibited in accordance with the comparison result generated by said comparing means.
- 2. A circuit according to claim 1, further comprising means for generating the most significant n bits of the first address data of m bits as resulting address data, where m and n are positive integers and m>n, and for sending said resulting address data to said latch means as said second address data.
- 3. A system according to claim 1, wherein said processing means comprises a microprocessor.
- 4. A system according to claim 1, wherein said memory means comprises random access means.
- 5. A system according to claim 1, wherein said processing means loads the second address into said latch means.
- 6. An information processing system having a memory protection function comprising:
- processing means having an interrupt terminal for processing information by executing a program;
- memory means for storing the information processed by said processing means;
- address means for generating first address data to specify an area in said memory means, the first address data including upper address bits and lower address bits;
- means for storing second address data for protecting a predetermined area in said memory means, the second address data including address bits corresponding to the upper address bits of the first address data, the number of the second address data being smaller than that of the first address data;
- control means for controlling said storing means to store new second address data in response to predetermined address data supplied from said processing means;
- comparing means for comparing the first address data generated by said address means and the second address data stored in said storing means; and
- means connected to said interrupt terminal for applying a signal to said interrupt terminal, which indicates that memory access by said processing means is prohibited, in accordance with a comparison performed by said comparing means, thereby enabling said processing means to interrupt the execution of the program.
- 7. A system according to claim 6, wherein said processing means comprises a microprocessor.
- 8. A system according to claim 6, wherein said memory means comprises random access means.
- 9. An information processing system having a memory protection function comprising:
- processing means for processing information;
- memory means for storing the information processed by said processing means;
- address means for generating first address data to specify an area in said memory means, the first address data including upper address bits and lower address bits;
- means for storing second address data for protecting a predetermined area in said memory means, the second address data including address bits corresponding to the upper address bits of the first address data, the number of the second address data being smaller than that of the first address data;
- first control means for controlling said storing means to store new second address data in response to predetermined address data supplied from said processing means;
- comparing means for comparing the first address data generated by said address means and the second address data stored in said storing means; and
- second control means connected to said processing means for applying a signal to said processing means, which indicates that memory access by said processing means is prohibited in accordance with a comparison made by said comparing means.
- 10. A system according to claim 9, further comprising means for changing the second address data.
- 11. A system according to claim 9, wherein said processing mens includes means for interrupting the information processing in response to the signal applied by said control means.
- 12. An information processing system having a memory protection function comprising:
- processing means for processing information;
- memory means for storing the information processed by said processing means;
- first address means for generating first address data to specify an area in said memory means, the first address data including upper address bits and lower address bits;
- second address means for storing second address data for protecting a predetermined area in said memory means,
- changing means, responsive to address data from said processing means, for modifying the second address data to change the protected predetermined area in said memory means;
- comparing means for comparing the upper address bits of the first address data generated by said first address means and the second address data stored in said second address means; and
- control means connected to said processing means for applying a signal to said processing means, which indicates that memory access by said processing means is prohibited in accordance with a comparison made by said comparing means.
Priority Claims (1)
Number |
Date |
Country |
Kind |
60-183918 |
Aug 1985 |
JPX |
|
Parent Case Info
This application is a continuation of application Ser. No. 07/931,408 filed Aug. 24, 1992, now abandoned, which is a continuation of application Ser. No. 07/625,692, filed Dec. 12, 1990, abandoned, which is a continuation of application Ser. No. 07/320,794, filed Mar. 9, 1989, abandoned, which is a continuation of application Ser. No. 06/895,996 filed Aug. 13, 1986, abandoned.
US Referenced Citations (8)
Continuations (4)
|
Number |
Date |
Country |
Parent |
931408 |
Aug 1992 |
|
Parent |
625692 |
Dec 1990 |
|
Parent |
320794 |
Mar 1989 |
|
Parent |
895996 |
Aug 1986 |
|