| 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.
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 CommandsYou will be adding the following commands to the Advanced menu:
Build 32-bit MASMThis command will be used to assemble and link 32-bit Protected mode programs.
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 MASMThis 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:
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 MASMThis 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:
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 MASMThis 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:
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 MASMThis 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:
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. |