Assembling a 1.6M asm file using turbo assembler 3.1?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

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

  1. #1
    Join Date
    Dec 2010
    Posts
    648

    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?
    Thanks
    Jack

  2. #2
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,100

    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
    Posts
    648

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

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

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

This is a CodeGuru survey question.


Featured


HTML5 Development Center