From 5165f0b11fd5f9f5f337a2ff13daeffb920e1ac9 Mon Sep 17 00:00:00 2001 From: dtrg Date: Tue, 20 Feb 2007 00:41:26 +0000 Subject: [PATCH] Added some comments and a CVS header. --- mach/i86/libem/strhp.s | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.34.1