CSc 3210
Computer Organization and Programming
Fall Quarter 1998
Programming Assignment #0 (Due: 9 September 1998, Wednesday)
Assignment Objectives:
Problem Description:
a:\>tasm /zi /l hello a:\>tlink /v hello a:\>td hellowhere hello.asm is the name of the file containing the program.
;-------------------------------------------- page 60,132 title Hello World Program .model small ;----Stack Segment--------------------------- .stack 100h ;----Data Segment---------------------------- .data hello_message db 'Hello, World!',0dh,0ah,'$' ;----Code Segment---------------------------- .code main proc far mov ax,@data mov ds,ax mov ah,9 mov dx,offset hello_message int 21h mov ax,4c00h int 21h main endp end main ;--------------------------------------------
Submission Instructions: Submit listing files for the assembly and high-level programs. Also submit a directory listing containing both the .EXE files along with the file sizes.
Raj Sunderraman