[comp.binaries.ibm.pc.d] Determining Memory size on a PC

standish@mentor.cc.purdue.edu (Jeff Standish) (10/24/90)

Does anyone know of a way of determining what the RAM size is on a PC
from within a program?  I'm writing a program that more or less will use
just abour all available memory, and need some way of allowing the
program to identify how many K of RAM the machine has, for purposes of
memory allocation.
.asm code prefered

					Thanks
					Jeff Standish