Program counter stacking method and apparatus for nested subrout

Boots – shoes – and leggings

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 942

Patent

active

044882270

ABSTRACT:
A computer system which facilitates the execution of nested subroutines and interrupts is disclosed. As each branch transfer within the program is executed by a control area logic, a microcommand initiates the transfer of the return address, which has been derived from the address in the present routine, to a first register of a push down stack. In addition, the microcommand also pushes down one level the contents of all of the registers in the stack containing previously stored return addresses. Thus, a sequential return to unfinished routines or subroutines is provided. When the subroutine or hardware interrupt service routine is completed, a code in the address field enables the return address of the previously branched from or interrupted routine to be retrieved from the first register in the push down stack and to provide it as the address of the next instruction to be executed. The retrieval of the return address from the push down stack also pops all other stored return addresses one level in the stack. In addition to providing multiple levels of subroutine and interrupt nesting, any number of subroutines or hardware interrupts may be partially completed since the last operating subroutine or hardware interrupt service routine is always the first one to be completed. Logic is also provided to detect the occurrence of a hardware interrupt during a return sequence such that the requirement to simultaneously push and pop the stack is properly handled.

REFERENCES:
patent: 3909797 (1975-09-01), Gross et al.
patent: 4287559 (1981-09-01), Esley et al.
patent: 4297743 (1981-10-01), Appell et al.
patent: 4340933 (1982-07-01), Miu et al.
patent: 4398244 (1983-08-01), Chu et al.
patent: 4438492 (1984-03-01), Harmon, Jr. et al.
Handling Multilevel Subroutines and Interrupts in Microcomputers, James F. Vittera, Computer Design/Jan. 1973, pp. 109-115.
Designing Interrupt Structures for Multiprocessor Systems, Rajen Jaswa, Computer Design/Sep. 1978, pp. 101-110.
Handle Microcomputer I/O Efficiently to Synchronize Program Execution with I/O Operation, Pick the Right I/O Scheme, and You Cut Hardware and Software Costs, Electronic Design 13, Jun. 21, 1978, pp. 70-76, by Dr. D. Philip Burton and Dr. Arthur L. Dexter.
Improved Microprocessor Interrupt Capability Gives You Easy and Efficient Access to Peripherals, and with Proper Instructions, Enables the Ps to Handle I/O Like a Mini, Electronic Design 9, Apr. 26, 1978, pp. 96-100, by Masatoshi Shima and Roy Blacksher.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Program counter stacking method and apparatus for nested subrout does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Program counter stacking method and apparatus for nested subrout, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Program counter stacking method and apparatus for nested subrout will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1467180

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.