News:

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

MASM32 v.8.2

Started by alexa, January 23, 2006, 07:30:42 PM

Previous topic - Next topic

alexa

How receive listing source with numbers lines?

gabor

#1
Hi!

I am afraid that it's not only me who did not fully understand your question.
What kind of listing do you want to receive? The listiing of your code (usually we call that simply the source) or the listing of any other asm code?
To have line numbers you need to open tha source/listing in an editor that displays line numbers. There are many such editors, the one shipped with the masm package displays line and column numbers too.

I hope I was able to help you!

Greets,Gábor

MichaelW

alexa,

If you mean how do you generate an assembly listing, you use the /Fl switch on the ML command line. To include all of the source lines, including false conditionals and generated code, in the listing use the /Sa option. For example:

\masm32\bin\ml /Fl /Sa /c /coff "%1.asm"




eschew obfuscation

gabor

Ups, it seems, I was totally wrong about this masm listings...
However I checked it out. Well, it sure has its advantages, but I could not make out any of them... I received a 72000 line long listing (3,2MB)  :dazzled:.

Greets, Gábor

microka

hey folks...I am a programmer...However it is the realm of music production! I was told that I should dwonload and install this file to allow me to use my ram most effectively. I use Nuendo 3.0, and would like to have a better understanding of how this works, and how will it effect the life of my ram. Anyone that could give me insight...in layman's terms? I would be very greatful!!! Also if I have posted in the wrong place please redirect this post...Thank you!!!

Mark Jones

Quote from: microka on February 03, 2006, 10:56:45 AM
hey folks...I am a programmer...However it is the realm of music production! I was told that I should dwonload and install this file to allow me to use my ram most effectively. I use Nuendo 3.0, and would like to have a better understanding of how this works, and how will it effect the life of my ram. Anyone that could give me insight...in layman's terms? I would be very greatful!!! Also if I have posted in the wrong place please redirect this post...Thank you!!!

Hello Microka, welcome to masmforum.com! :bg

Which file were you told to install? We here at masmforum.com are great at working in layman's terms, just let us know exactly what you want to do and we'll help. Do you want to learn how to write MODs? MODs are computer files (music) which have custom samples. It's like MIDI but with any instrument you can make. I'm not familiar with Nuendo but I've made a few MODs in the past. Maybe I can help you.

Good luck in your project!

Regards,
Mark Jones
USA
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

microka

Hey Thanks for the reply Mark :U...I wish that I had the know how to write music programs(The MOD That you spoke of). Here is the objective that I'am trying to achieve...While using Nuendo with plugins(some are very CPU intensive) it begins to operate very slowly, and often I have to export the music to listen to the mix! :tdown My CPU is an  AMD Atholon 64 4000+ I am currently running 1G DDR, and have two hard drives Maxtor 80G ide, and a western digital 250G SATA.  What I am trying to figure out is if I install the MASM program, per. the specs from the Nuendo forum, will it allow me to use my ram to run Nuendo, and not use my cache memory(which is why I believe that I get the lagg)...Again I'm still green about how this app works, but am more than willing to learn something new!!! I truly appreciate any assistance that you can give...It will be a great help.

P.S.
     I forgot to mention earlier that the Nuendo forum discussed Large address applications. I am gathering that this is a program that requires alot from your CPU. Nuendo 3 is an LAA program. I am not sur if this will help, but i thought I should mention it...Thanks again!!! :U

zooba

From the Nuendo forum (I don't frequent there, but a quick search turned up the result):
Quote from: LEX
1. Download masm32 (http://www.masm32.com/) and install it (after it installs, it brings up a command prompt window, just close it. Do NOT have it perform any of those functions.)
2. Copy the Nuendo3.exe to another location for backup purposes
3. Place another copy of Nuendo3.exe (or whichever sequencer you use) in the C:\masm32\bin directory
4. Open up your command prompt and type "cd c:\masm32\bin"
5. Type "editbin /largeaddressaware Nuendo3.exe"
6. Move the copy of the Nuendo3.exe file you just modified back to the regular Nuendo directory
7. Open your boot.ini file (located in C: - you may have to open any folder and go Tools->Folder Options->View->Select Show Hidden Files and Folders and UNcheck the "Hide protected operating system files" to see this file)
8. Add "/3GB" after "multi(0)disk(0)rdisk(0)partition(2)\WINDOWS..." so it should look like similar to "multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /3GB /fastdetect...."
9. If you have a UAD-1 card, you also need to add "/Userva=2900" after the /3GB switch, so it should look like similar to "multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /3GB /Userva=2900 /fastdetect...."
10. Save the modified boot.ini file
11. Reboot

WARNING -- DO THIS AT YOUR OWN RISK

The whole thread: RAM and the 3 gig switch

Basically, there appears to be no need to install the whole package, as only the EDITBIN.EXE application is required. The install packages are WinRAR SFX files, so you should be able to open them in WinRAR and only extract the BIN directory (which contains the file - some of the other files in that directory are also required).

AFAICT, an application which was linked with this option will use RAM > 2GB for paging rather then going to the hard drive. Personally I doubt that you're getting too much lag (assuming you've set up your multiple hard drives correctly) as a result of paging, but I don't know the inner workings of the program. Apparently (according to Lex) it works, though unless the application takes advantage of the extra RAM by using the AWE API, I don't think you'll get too much from this.

Cheers,

Zooba :U