如何动态分配内存使用汇编和系统调用在Linux下

如何动态分配内存使用汇编和系统调用在Linux下

问题描述:

我在Linux下使用汇编语言,并使用系统调用,而不是malloc和朋友寻找动态内存分配的一些好的code的例子。

I'm looking for some good code examples of dynamic memory allocation using an assembly language under Linux and using system calls, not malloc and friends.

是一些要做到这一点的最简单而有效的方法是什么?

What are some of the simplest but effective ways to do this?

在英特尔386+电脑。

On Intel 386+ computers.

BRK(2) 。而看看 ELF