Sunday, September 6, 2009

Reduced instruction set computer - Wikipedia, the free encyclopedia

Reduced instruction set computer - Wikipedia, the free encyclopedia: "In a CPU with register windows, there are a huge number of registers, e.g. 128, but programs can only use a small number of them, e.g. 8, at any one time. A program that limits itself to 8 registers per procedure can make very fast procedure calls: The call simply moves the window 'down' by 8, to the set of 8 registers used by that procedure, and the return moves the window back. (On a normal CPU, most calls must save at least a few registers' values to the stack in order to use those registers as working space, and restore their values on return.)"

No comments:

Post a Comment