<div dir="ltr"><div>Good afternoon,</div><div><br></div><div>I've been thinking on debug_get_stack_pointer function for quite a while now.</div><div>I pushed my code into my repo. <br></div><div>Also I attached my log. <br></div><div>For some reason the test that asserts that sp1 == sp2 fails, but the log shows that they are the same.</div><div><br></div><div>Also question. You said that we should try first without using inline assembly. <br></div><div>I tried to use asm() function and the compiler doesn't recognize this function call.</div><div>Is there another way to use assembly in C?<br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Georgii Ekserdzhian</div></div></div></div></div>