News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

code Segment Define DATA bug???

Started by mywind, November 16, 2010, 10:36:22 AM

Previous topic - Next topic

mywind

Example:

.code
  DestMem db 0024A000h dup (0)

ml.exe will not respondm.

How to solve???

Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.



dedndave

you may be able to use the ORG directive if the data is uninitialized
or - you can just wait for it to finish - lol
it will finish, eventually

clive

Quote from: mywind
How to solve???

Stop using large static allocations, and allocate it dynamically.
It could be a random act of randomness. Those happen a lot as well.

Vortex

Hi mywind,

clive is right. VirtualAlloc,HeapAlloc and GlobalAlloc are some functions to allocate memory dynamically.