IDE >> UltraEdit-32

Updated 11/13/2002

UltraEdit-32 is a registered trademark of IDM Computer Solutions, Inc. Their web site is www.ultraedit.com.

In this short tutorial, we will show you how to add commands to the Advanced menu in UltraEdit-32 Professional, version 9.10b. You will be able to assemble, link, and debug your assembly language programs from within the editor.

First: Install and run UltraEdit-32. Click here to begin adding the Tool commands.

Optional: Test your configuration. If you're writing 32-bit programs, open the AddSub.asm program from Chapter 3. If you're writing 16-bit programs, open the AddSubR.asm program from the same directory. Select the appropriate Build command from the Tools menu.

Any command you install in the Advanced menu will act on the file in the currently active editor window.

Next, modfy the program by intentionally inserting errors. Save the program and build it again. Note how the error messages are formatted in the output window, showing each line number that contains an error. Correct your error and build the program again.

 

 

 

 

 

 

 

 

 


Adding the Tool Commands

You will be adding the following commands to the Advanced menu:

  • Build 32-bit MASM
  • Build 16-bit MASM
  • Run MASM
  • Debug 16-bit MASM
  • Debug 32-bit MASM

Build 32-bit MASM

This command will be used to assemble and link 32-bit Protected mode programs.

  • Select Tool Configuration... from the Advanced menu.
  • Enter the following information:

For the Command Line entry, use cmd.exe for Windows NT, 2000, and XP.

Use command.com for Windows 95, 98, and ME.

Click the Insert button. You should see the Build 32-bit MASM comand show up in the listbox at the bottom of the window.

Build 16-bit MASM

This command will be used to assemble and link 16-bit Real-mode programs. Assuming that your Tool Configuration window is still open, enter the following information:

    For the Command Line entry, use cmd.exe for Windows NT, 2000, and XP.

    Use command.com for Windows 95, 98, and ME.

Click the Insert button. You should see the Build 16-bit MASM comand show up in the listbox at the bottom of the window.

Run MASM

This command will run the executable program identified by the file in the active edit window. Assuming that your Tool Configuration window is still open, enter the following information:

    For the Command Line entry, use cmd.exe for Windows NT, 2000, and XP.

    Use command.com for Windows 95, 98, and ME.

Click the Insert button. You should see the Run MASM comand show up in the listbox at the bottom of the window. You can download runAsm.bat here, and copy it to your c:\Masm615 directory.

Debug 16-bit MASM

This command will run the Microsoft CodeView debugger so you can debug 16-bit Real-mode programs. Assuming that your Tool Configuration window is still open, enter the following information:

    For the Command Line entry, use cmd.exe for Windows NT, 2000, and XP.

    Use command.com for Windows 95, 98, and ME.

Click the Insert button. You should see the Debug 16-bit MASM comand show up in the listbox at the bottom of the window.

Debug 32-bit MASM

This command will let you debug 32-bit Protected mode applications with a debugger of your choice. Click here to read more information about debugging choices. For the current example, we will assume that you are running the Microsoft Visual Studio 6 debugger. Assuming that your Tool Configuration window is still open, enter the following information:

  • Note that in the Command Line entry the executable filename is msdev.exe.
  • If you are using the Visual Studio.Net debugger, the executable name should be devenv.exe.
  • If you are using the Microsoft Windows debugger, the executable name should be windbg.exe.

Click the Insert button. You should see the Debug 32-bit MASM comand show up in the list box at the bottom of the window.

Important: If you need to edit an existing entry in the Tool Configuration window, double-click on the command name in the lower list box. If you make any changes to the entries in this window, you must click the Replace button before the changes become permanent. The OK button does not, by itself, save any changes.

Return to the top