Overview | Sample | Characteristics | Steps | Users
Development software
![]()
| Early 1950's -
Assembly Language Mnemonic replaced binary with codes such as mov replacing a binary code. |
![]() |
HELLO.ASM
;"Hello,world" program in Borland's Turbo Assembler
.MODEL small
.STACK 100h
.DATA
HelloMessage DB 'Hello, world',13,10,'$'
.CODE
mov ax,@data
mov ds,ax ;set DS to point to the data segment
mov ah,9 ;DOS print string function
mov dx,OFFSET HelloMessage ;point to "Hello, world"
int 21h ;display "Hello, world"
mov ah,4ch ;DOS terminate program function
int 21h ;terminate the program
END
Three stages in assembly programming
What type of person would write in assembler ?
/ohtLF/ Rev 25/6/97] © 1997 V/2-Com (Verhaart), P O Box 8415, Havelock North, New Zealand.