System for performing input and output operations to and from a processor
First Claim
1. A system including a microprocessor having a memory, a means for executing a series of instructions, and a plurality of input/output ports each capable of connection to an input/output device, said series of instructions including input and output instructions, the system comprising:
- instruction means within said microprocessor for entering a super state mode of operation from a normal mode of operation;
input/output control code stored in said memory beginning at a particular address, said input/output control code for controlling input and output between said microprocessor and said ports;
a super state block register within said microprocessor for storing said particular address;
instruction means within said microprocessor for generating an interrupt each time said microprocessor encounters an input or an output instruction in said series of instructions while in said super state mode, said interrupt causing said microprocessor to access said super state block register and execute said input/output control code.
6 Assignments
0 Petitions
Accused Products
Abstract
A system for performing input and output operations to and from a processor in which interrupts for I/O operations are conditionally generated internally rather than externally by (Super State™) microcode residing in a separate address space in memory in an area protected from the user. A (superblock) register in the processor points to the Super State area in memory. If the Super State mode is turned on, an interrupt is generated within the processor whenever the control table allows. The interrupt directs the processor to the register and hence to the Super State code. By way of example, the Super State code controls power and access to the port, decides whether to put the interrupt in memory and emulate the I/O, and counts access to the port. The invention provides a processor with the flexibility of performing I/O operations to and from memory and/or to a peripheral or to trap an interrupt into a new operating environment for device emulation. Device emulation and monitoring is allowed without considerable program overhead. The invention provides a powerful, efficient I/O control system which can change or adapt in response the changing demands of an application program.
-
Citations
9 Claims
-
1. A system including a microprocessor having a memory, a means for executing a series of instructions, and a plurality of input/output ports each capable of connection to an input/output device, said series of instructions including input and output instructions, the system comprising:
-
instruction means within said microprocessor for entering a super state mode of operation from a normal mode of operation; input/output control code stored in said memory beginning at a particular address, said input/output control code for controlling input and output between said microprocessor and said ports; a super state block register within said microprocessor for storing said particular address; instruction means within said microprocessor for generating an interrupt each time said microprocessor encounters an input or an output instruction in said series of instructions while in said super state mode, said interrupt causing said microprocessor to access said super state block register and execute said input/output control code. - View Dependent Claims (2, 3, 4)
-
-
5. A method for managing the input and output operations of a battery powered computer, said computer including a microprocessor having a memory, a means for entering a super state mode of operation from a normal mode of operation, a plurality of input/output ports each capable of connection to an input/output device, input/output control code in said memory for controlling power to an input/output device and for controlling input and output between said microprocessor and said ports, and means for executing a series of instructions including input and output instructions, the method comprising:
-
entering said super state mode of operation from said normal mode of operation; executing said series of instructions; and generating an interrupt within said microprocessor each time said microprocessor encounters an input or an output instruction in said series of instructions while in said super state mode, said interrupt causing said microprocessor to execute said input/output control code each time said microprocessor encounters an input or an output instruction in said series of instructions. - View Dependent Claims (6, 7, 8, 9)
-
Specification