CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Dec 2010

    Assembling a 1.6M asm file using turbo assembler 3.1?

    It says run out of memory.
    Are there anyways that I can assemble such a large file?

  2. #2
    Join Date
    Apr 2000
    Belgium (Europe)

    Re: Assembling a 1.6M asm file using turbo assembler 3.1?

    1) Use the 386 version of TASM, this will need you to have XMS memory in de DOS box (I'm not sure TASM 3.2 had a 386 version, one of the last versions of TASM did however).
    2) Free up more memory in your DOS box.
    3) Split it up into multiple ASM modules, then link the modules together. This does mean you'll need to make external references to anything you use from one module that's located in another. So there's some manual work involved.
    The "easy" mode solution for this is to start by moving large datatables out to separate modules because that'll be easiest to reference.
    Note that doing this may cause the order of functions/data to be different which could be of concern depending on
    4) don't use multiple passes, extra passes need TASM to store more in memory. It means you won't get the best forward jumps unless you specified them to be short jumps though.
    5) use another assembler. But this may be a big issue if you made heavy use of TASM specific syntax.

  3. #3
    Join Date
    Dec 2010

    Re: Assembling a 1.6M asm file using turbo assembler 3.1?

    Thanks, I think I will try to get a better assembler.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.