quick steps to learn operation with kit.pdf

Upload: kumar-anupam-er

Post on 14-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 QUICK STEPS TO LEARN OPERATION WITH KIT.pdf

    1/4

    MICROPROCESSOR LABS (EEC553)Prepared By: -Er . Anupam Kumar, Assistant Professor, ECE, Ashoka I nstitute

    of Technology & Management, Aktha, Varanasi , U.P.

    QUICK STEPS TO LEARN OPERATION WITH KITStep I:-Procedure to operate kit using assembly language program.

    Do connections as per your figure

    Switch ON power supply (i.e. SMPS (Switched mode power supply)

    ANSHUMAN will be display on display board.

    Press ENTERkey

    Go to command mode

    COMMAND=

    Press E

    EXPAND=

    Press A

    2 PASS ASSEMBLER?

    Press ENTERkey 3 times

    Files EXIST?

    Press N (No)

    ARE YOU SURE?

    Press ENTERKEY

    C=

    Press W

    0001 ORG 6000H (Write your program here)

  • 7/27/2019 QUICK STEPS TO LEARN OPERATION WITH KIT.pdf

    2/4

    0002 MVI A, 22H

    0003 MVI B, 33H

    0004 ADD B

    0005 RST 1

    Press Ctrl key+ C

    C=

    Press A Key

    Will show message save code at DSTN? Y/N

    Press Y (Yes)

    C=

    Press ESC two times

    COMMAND= (Go to command mode)

    Execution of the program

    Press G

    Go to?

    Press ENTERkey 2 times

    BURST ADDR

    GIVE 6000H

    Press ENTERKey

    COMMAND= (Go to command mode)

    Checking contents of registers

    Press S

    SUBSTUT?

    Press ENTERkey

    MEMORY

    Press any key other than Enter Key 2 times

    IO REGISTER (GIVE THE NAME)

  • 7/27/2019 QUICK STEPS TO LEARN OPERATION WITH KIT.pdf

    3/4

    Press ENTERkey

    NAME

    A=55(Result i.e. 22+33=55)

    NOTE: - On pressing Enter subsequently all registers contents will display. PROCEDURE TO OPERATE KIT USING DISASSEMBLER

    Press E

    EXPAND

    Press U

    Press ENTERkey 3 times

    STRT

    Give 6000

    Press ENTER

    END

    Give 6009

    Press ENTER

    DSTN

    Give 6000

    Press ENTER

    PRINTER ?

    Press CTR+C step by step

    ABBREVIATIONS & DESCRIPTIONS:-

    S (SUBSTUT)-Use substitute command to enter program. Ctr+U- You can check data previously entered by pressing Ctrl-U key. ESC (Display COMMAND) - Come to command mode. CR (MEMORY) - Display first mode: Memory. BURST- Use to BURST Mode. ADDR- Asks the program address. COMMAND- Comes back to command mode. REGISTER- Display next mode: Register. Any key IO- Displays next mode: Input/Output port.

  • 7/27/2019 QUICK STEPS TO LEARN OPERATION WITH KIT.pdf

    4/4

    LAB ASSIGNMENT

    1. (A) Addition of two nos. is stored in location 20C0 & 20C1 respective & result isstored in 20C2. (B) Subtraction of two no.

    2. Write a program using 8085 microprocessor for Decimal, Hexadecimal addition andsubtraction of two numbers.

    3. To perform multiplication and division of two 8 bit numbers using 8085.4. To find the largest and smallest number in an array of data using 8085 instruction

    set.

    5. To write a program to arrange an array of data in ascending & descending order.6. To convert given Hexadecimal number into its equivalent ASCII number & vice

    versa using 8085.