Microsoft Macro Assembler (MASM)
What is Microsoft Macro Assembler (MASM)?
The Microsoft Macro Assembler (abbreviated MASM) is an assembler for the x86 family of microprocessors. It was originally produced by Microsoft for development work on their MS-DOS operating system, and was for some time the most popular assembler available for that operating system.http://en.wikipedia.org/wiki/MASM
Download and Install

2. Uncompress the file m32v9r.zip and run the installer file install.exe to start the installation process until finish.















3. Do NOT use the linker link.exe (32 bit) in the masm32/bin directory. Use the linker version 5.60 to generate 16-bit DOS applications. http://www.scs.carleton.ca/~sivarama/asm_book_web/free_MASM.html
3.1. Download lnk563.exe size 274 KB from the following URL:http://download.microsoft.com/download/vc15/Update/1/WIN98/EN-US/Lnk563.exe http://www.scs.carleton.ca/~sivarama/asm_book/source/win_nasm_readme.pdf

4. Copy this file to C:\MASM32\BIN and run it. Answer Yes(y) when asked whether to overwrite existing files.http://www.intelligent-systems.info/classes/ee360/tutorial.htm

5. Right-click my Computer and click on Poperties.

6. On the Advanced tab, click Environment Variables.

7. Under System variables box, select variable Path and click on Edit.

8. In Variable value edit box add the new paths separated by semicolons (;) C:\masm32\bin, click OK, click OK and click Ok again.

9. Click Start, and then click Run.

10. In the Open box, type cmd, and then click OK.

11. Create a folder to hold your Assembly source code file, using the mkdir command, and then change into the working directory, using the cd command. Finally, create your Assembly source code file by typing notepad hello.asm.

12. Click Yes when Notepad asked if you want to create the new file because the file doesn't exist.

13. In hello.asm type the following Assembly source code, and then save it:
;hello.asm
;To assemble and link
;For TASM, type:
;tasm hello.asm
;tlink hello.obj
;For MASM, type:
;ml hello.asm
;This program prints the message "Hello World!" on the screen.
.model small
.stack
.data
Message db "Hello World!",10,13,"$"
.code
start:
;Get segment of Message.
mov ax,SEG Message
mov ds,ax
;Write 'Hello World!' to the screen.
mov ah,9
mov dx,OFFSET Message
int 21h
;Terminate program.
mov ax,4c00h
int 21h
end start
;To assemble and link
;For TASM, type:
;tasm hello.asm
;tlink hello.obj
;For MASM, type:
;ml hello.asm
;This program prints the message "Hello World!" on the screen.
.model small
.stack
.data
Message db "Hello World!",10,13,"$"
.code
start:
;Get segment of Message.
mov ax,SEG Message
mov ds,ax
;Write 'Hello World!' to the screen.
mov ah,9
mov dx,OFFSET Message
int 21h
;Terminate program.
mov ax,4c00h
int 21h
end start


14. To assemble and link, use the command: ml hello.asm
15. To run the program, use the command: hello
16. The program prints the message Hello World! on the next line.

Running from icon
17. In Windows Explorer in the folder you saved the Pascal source code right click on the executable file hello.exe, and chooseProperties.

18. Click the Program tab, and uncheck the box marked Close on exit and then click "OK" to close the box.

19. This will stop the DOS window from closing automatically when the program runs by DOS program icon.

20. If you forget the comma, the compiler will give you an error message when you attempt to compile the program.


EditPlus
What is EditPlus?
EditPlus is an Internet-ready 32-bit Text editor, HTML editor and Programmer's editor for Windows.It also offers many powerful features for Web page authors and programmers.
EditPlus is an Internet-ready 32-bit Text editor, HTML editor and Programmer's editor for Windows.It also offers many powerful features for Web page authors and programmers.
Download and Install
1. Go to editplus.com, click Download, click Download again, download the file epp220_en.exe size 939 KB.

2. Double-click on the saved file icon epp220_en.exe to start the installation process.







3. Click the program icon on your desktop or the shortcut on the Start menu to launch the program.


4. It will bring up a nag screen each time it is run until you register the program.

5. From the View menu, select Output Window to show it.

6. From the Tools menu, select Configure User Tools.

7. In Preferences dialog box On User tools page click on the Group Name button to change the default group name Group 3.

8. In the New Name text box, type MASM 6.14.8444

9. Select the Add Tool button.

10. Select Program from the popup menu.

11. Set the options like this:
Menu text: MASM
Command: C:\masm32\bin\ml.exe
Argument: $(FilePath)
Initial directory: $(FileDir)
Capture output: ON
and then click Apply.
Menu text: MASM
Command: C:\masm32\bin\ml.exe
Argument: $(FilePath)
Initial directory: $(FileDir)
Capture output: ON
and then click Apply.

12. Select the Add Tool button.

13. Select Program from the popup menu.

14. Set the options like this:
Menu text: Run
Command: $(FileNameNoExt)
Argument:
Initial directory: $(FileDir)
Capture output: ON
and then click OK.
Menu text: Run
Command: $(FileNameNoExt)
Argument:
Initial directory: $(FileDir)
Capture output: ON
and then click OK.

15. From the Tools menu, select User Tool Groups, and then MASM 6.14.8444

16. To compile, open the source file, select MASM from the Tools menu.

17. The result will be shown in the Output Window at the bottom.

18. To run, select Run from the Tools menu.

19. The result will be shown in the Output Window at the bottom.

20. If you forget the comma, the compiler will give you an error message when you attempt to compile the program.

21. Uncheck the Capture output box of the Run menu will show the output in a command-prompt window.

