A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Welcome to the Hello World in Microsoft Macro Assembler page! Here, you’ll find the source code for this program as well as a description of how the program works.
```microsoft macro assembler PAGE 60,132 ; .8086 XSEG SEGMENT ASSUME CS:XSEG
START: PUSH DS PUSH DI PUSH CS POP DS PUSH AX PUSH DX MOV AX,0003H MOV AH,09H LEA DX,STR ; Address of string relative to start of code ADD DX,100H ; ***** INT 21H ; Print string
EXIT: POP DX POP AX POP DI POP DS RET
STR: DB ‘Hello world!’,0DH,0AH,’$’ DB 103 DUP(0)
XSEG ENDS END ```
Hello World in Microsoft Macro Assembler was written by:
If you see anything you’d like to change or update, please consider contributing.
No ‘How to Implement the Solution’ section available. Please consider contributing.
No ‘How to Run the Solution’ section available. Please consider contributing.