1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>OSGetStackPointer</title> 10</head> 11 12<body> 13 14<h1>OSGetStackPointer</h1> 15 16 17<h2>C Specification</h2> 18<dl> 19 <dd><pre><code>#include <revolution/os.h></code></pre></dd> 20 <dd><pre><code>u32 OSGetStackPointer(void);</code></pre></dd> 21</dl> 22 23<h2>Arguments</h2> 24 25<p>None.</p> 26 27<h2>Return Values</h2> 28 29<p>The current stack pointer address.</p> 30<H2>Description</H2> 31<P>Gets the current stack pointer address (r1).</P> 32 33 34 35<h2>See Also</h2> 36<H2>Revision History</H2> 37<P>03/01/2006 Initial version.</p> 38<hr><p>CONFIDENTIAL</p></body> 39</html>