1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//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<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<title>OSGetStackPointer</title> 9</head> 10 11<body> 12 13<h1>OSGetStackPointer</h1> 14 15 16<h2>C Specification</h2> 17<dl> 18<dd><pre><code>#include <revolution/os.h></code></pre></dd> 19<dd><pre><code>u32 OSGetStackPointer(void);</code></pre></dd> 20</dl> 21 22<h2>Arguments</h2> 23 24<p>None.</p> 25 26<h2>Return Values</h2> 27 28<p>The current stack pointer address.</p> 29<H2>Description</H2> 30<P>Gets the current stack pointer address (r1).</P> 31 32 33 34<h2>See Also</h2> 35<H2>Revision History</H2> 36<P>03/01/2006 Initial version.</p> 37</body> 38</html>