Department of Electrical and Electronic Engineering
Bangladesh University of Engineering and Technology
Group No.: 05
Course No.: EEE 316
Course Name: Microprocessor
and Interfacing Sessional.
Experiment No.: 01
Basic idea of microprocessors and interfacing devices.
Assembly language introduction and elementary commands.
Date of Performance: 19/11/2013
Date of Submission: 26/02/2013
Level: 3 Term: 2
Student No.: 0906022
The objective of this experiment is to be familiarized with microprocessor trainer
and loading some simple programs in the kit.
Task: To write complete assembly language for the operation
of finding out n-th Fibonacci number
ASSUME CS:CODE, DS:CODE
MAIN: MOV AX, CS
MOV DS, AX
MOV CX,n ;n is the index of the fib no.
MOV DATA1,BX ;DATA1 is n-th fib no.
MOV AH, 4CH
n DW 8H
DATA1 DW 0H
DATA2 DW 1H
In each debugging,
n’s value is at 1414:2000.
n-th Fibonacci number is at 1414:2030