Added some comments and a CVS header.
authordtrg <none@none>
Tue, 20 Feb 2007 00:41:26 +0000 (00:41 +0000)
committerdtrg <none@none>
Tue, 20 Feb 2007 00:41:26 +0000 (00:41 +0000)
mach/i86/libem/strhp.s

index e268404..5bddb63 100644 (file)
@@ -1,8 +1,22 @@
+! $Source$
+! $State$
+! $Revision$
+
 .sect .text; .sect .rom; .sect .data; .sect .bss
 .sect .text
 .define        .strhp
 .extern .reghp, .limhp, EHEAP, .trp
 
+! Updates the heap pointer:
+!
+! int .strhp(void* newpointer)
+!
+! .reghp is the current heap pointer;
+! .limhp is the current top of memory.
+!
+! If the desired new heap pointer is above the top of memory, then BRK is
+! called to extend the memory.
+
 .strhp:
        pop     bx
        pop     ax