From: dtrg Date: Tue, 20 Feb 2007 00:41:26 +0000 (+0000) Subject: Added some comments and a CVS header. X-Git-Tag: release-6-0-pre-1~25 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5165f0b11fd5f9f5f337a2ff13daeffb920e1ac9;p=ack.git Added some comments and a CVS header. --- diff --git a/mach/i86/libem/strhp.s b/mach/i86/libem/strhp.s index e26840404..5bddb63ea 100644 --- a/mach/i86/libem/strhp.s +++ b/mach/i86/libem/strhp.s @@ -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