Second generation software languages

Overview | Sample | Characteristics | Steps | Users
b_html1.gif (183 bytes)Development software
l_stone.gif (2795 bytes)


Overview

 Early 1950's - Assembly Language

Mnemonic replaced binary with codes such as mov replacing a binary code.

c_swbug.gif (28183 bytes)


Sample

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

 


Characteristics

 


Assembly language steps

Three stages in assembly programming

 

Ref [75]TurboAssembler'89


Users

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.