Subj : Re: Initialize subroutine in startup assy code never returns if total RAM usage goes over 0x1f000 To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Tue Mar 22 2005 06:10 pm Mike Hollenbeck wrote: >I am compiling code to run on an embedded platform using a 80188 processor and 256K of RAM space. >whenever the FARHEAP gets above 0x1F000 the system just resets. So when the heap is larger than half the total memory space, it resets. What memory model are you using? How far up does the app start loading? 0x100? 64k? How big is the stack? How big is the app without the heap? Is part of the ram reserved for system use? Bios or Video? > I can supply the Makefile, BCPP45.ASM .RM and .LOC files if needed. And why are you using a heap with asm? .