main()
{
int *Memory;
Memory=(int *)malloc(100*sizeof(int));
..........
}
在编译是通过的。但连接是出现以下问题
Error[e16]: Segment DATA16_Z (size: 0x7d0 align: 0x1) is too long for segment definition. At least 0x6db more bytes needed. The pro××em occurred while processing
the segment placement command "-Z(DATA)DATA16_I,DATA16_Z,DATA16_N,HEAP+_HEAP_SIZE=0200-0300", where at the moment of placement the ××aila××e
memory ranges were "CODE:20C-300"
Error[e16]: Segment DATA16_Z (size: 0x7d2 align: 0x1) is too long for segment definition. At least 0x6d3 more bytes needed. The pro××em occurred while processing
the segment placement command "-Z(DATA)DATA16_I,DATA16_Z,DATA16_N=0200-0300", where at the moment of placement the ××aila××e memory ranges were
"CODE:202-300"