EXPERIMENT 1 : DATA TRANSFER OPERATIONS & INSTRUCTIONS

OBJECT :

To introduce the data transfer instructions in the 8085 instruction set, addressing modes and their applications. Writing a simple block data transfer program including arithmetic and program control instructions, such as DCR Reg, INR Reg, JNZ LABEL instructions, to examine data transfer instructions.

REFERENCE:

Gaonkar, R. S., Microprocessor Architecture, Programming and Applications with the 8085/8080A (Forth Edition).

Sections 5.1, 5.3, 6.1, 6.4, 10.7

Appendix F 8085/8080A Instruction Set 

1. PRELIMINARY WORK:

1.1. a) List the integrated circuits (ICs) and the other hardware features of the Primer Experiment Kits.

b) Write down the reasons why we need an assembler and a monitor program.

1.2. Write necessary instructions to perform each of the following tasks by using the instructions selected from the data transfer group of the instruction set and indicate addressing mode of each instruction;

*          E <- EEH (Load data EEH into the register D )

*          B <- E (Copy contents of the register E to the register B )

*         C <- B

*          D <- C

*         A <- 3FH

*          [F100H] <- B (Copy contents of the register B to location at the address of F100H )

*         A <- [F100H]

*          [F110H] <- A

*          [F111H] <- C

*          HL <- FF10H (Load data FF10H into the register pair HL )

*          [FF10H] <- A

*          [F113H] <- L and   [F114H] <- H

*          DE <- ABCDH

*          SP <- FF00H

*          L <- [F110H] and H <- [F111H]

1.3. Write three programs to perform following tasks ;

a) Fill the memory locations in the range FE00H - FEF0H with the descending values from F3H to 03H correspondingly ,

b) Copy contents of memory locations FE00H - FEF0H to FD00H - FDF0H .

c) Copy contents of memory locations FE00H - FEF0H to FE0FH - FEFFH without any loss .

 

Note:

i) Preliminary works 1.1, 1.2, and 1.3 must be sent either in .pdf or .doc format (you can upload only 1 .pdf or .doc file).

ii) Programs written in part 1.2 and 1.3 must be sent in a single .asm file (you can upload only 1 .asm file).

 

2.EXPERIMENTAL WORK:

a) Execute the program that you have written in part1.2 step-by-step and check the register contents and corresponding memory locations.

b) Execute the program that you have written in part1.3a and check corresponding memory locations.

c) Execute the program that you have written in part1.3b and check corresponding memory locations.

d) Execute the program that you have written in part1.3c and check corresponding memory locations.