UMBC | CMSC211 |
;; Filename: hello.asm ;; Name: Ima Student ;; SSAN: 6789 ;; Date: 3 Feb 2001 ;; Course: CMSC-211 ;; Description: (Your psuedocode goes here. Must be detailed) ;; Notes: (As needed, such has how to compile) ;; ;; ;; FIRST.ASM -- Our first Assembly Language Program. This program ;; displays the line 'Hello, my name is Gary' on the CRT. .MODEL SMALL .STACK 100H .DATA Message DB 'Hello, my name is Gary', 13, 10, '$' .CODE Hello PROC mov ax, @data mov ds, ax mov dx, OFFSET Message mov ah, 9h ;Function code for 'display string' int 21h ;Standard way to call MSDOS mov al, 0 ;Return code of 0 mov ah, 4ch ;Exit back to MSDOS int 21h Hello ENDP END Hello ;Tells where to start execution
;; Filename: proj1.asm ;; Name: Ima Student ;; SSAN: 6789 ;; Date: 3 Feb 2001 ;; Course: CMSC-211 ;; Description: (Your psuedocode goes here. Must be detailed) ;; Notes: (As needed, such has how to compile)