Programming the 8085.



Programming the 8085.

  1. Sketch the programming model and explain in detail.
  2. What are the various addressing modes available in 8085? Explain with examples.
  3. Explain the instruction format of 8085 microprocessor with an example.
  4. How do you classify the instructions of 8085, based on a) Number of bytes b) Addressing modes? Explain with examples.
  5. Give two examples for each of the following types of instructions and indicate what each of these instructions do:

    1. Instructions with implied addressing.
    2. ALU type of instructions.
    3. Instructions addressing memory indirectly through any register pair.
    4. Conditional branch instructions.
    5. Interrupt related instructions.
  1. Explain fully the action of the following 8085 instructions: ADC M, STAX D, RLC, LHLD 9898, and TRAP.
  2. Explain the following instructions and indicate the flags affected: DAA, DAD D, XCHG, HALT & MOV M, A.
  3. Define Instruction cycle, Machine cycle and T-States with examples.
  4. Explain the following instructions indicating their addressing modes, flags affected, number and names of machine cycles on the execution of each: XRA A, SUB M, & DCXSP.
  5. Draw opcodes fetch machine cycle, memory write machine cycle and I/O read machine cycle and explain.
  6. Explain the various steps involved while executing CALL instruction with an example.
  7. Explain DAA instruction with example.
  8. Explain the functions and timing associated with STA and RST instructions.
  9. Explain the working of CALL address and RET instructions, in terms of machine cycles.
  10. Write an ALP for 8085 to multiply two 8-bit numbers. Explain your program with only comments.
  11. Write a program in 8085 to convert the binary number stored in location XX20h to BCD. Store the possible three BCD digits in unpacked manner from location XX50h.
  12. What is a stack? On what principle it works? Is it necessary to intialize stack pointer while writing program? Explain with example.
  13. Mention the uses of stack. Sketch the content of SP and stack memory after the execution of each of the following instructions in the given order, if SP = 1000h, BC = 2030h and DE = 4050h initially: PUSH B and PUSH D.
  14. With suitable programming example clearly explain passing the parameter through registers, through memory and through stack.
  15. Explain stack operation in detail.
  16. Sketch and explain briefly the timing diagram of the instruction MVI A, 32h, which is stored from address 3000h.
  17. Draw the timing diagram for the instruction STA 9000h.
  18. Write an 8085 program to simulate a decimal upcounter to count 00 to 99. Use delay of 100 msec in between counts. Assume the operating frequency as 2 MHz.
  19. What is the use of instruction ORA A? What is the status of CY and AC flags after the execution of this instruction?
  20. Write a recursive subroutine named FACT to find factorial of the number in 8085.
  21. Using JMP, can you call a subroutine? Explain with an example and a corresponding ALP.
  22. Write an ALP to count number of 1’s and 0’s present in a hex byte present at 9100h memory location. Store number of 1’s at 9101h and number of 0’s at 9102h.
  23. Write an ALP for 8085 processor to separate ODD and EVEN numbers from an array of 16 numbers stored from F100h. Store the EVEN numbers from F120h and ODD numbers from F150h.
  24. Write an ALP subroutine to produce a delay of 1 second. Consider the 8085 clocked at 5 MHz.
  25. What is a subroutine? How it is useful? Explain the use of stack in CALL and RET instructions.
  26. Explain any five logical instructions with their function, addressing modes and flags affected.

NOTE:
Any of the instructions can be asked for explanation.
One must Cover lab programs also.

0 comments:

Post a Comment

Often In Search

Mayoritas Daerah Menunggu Formasi CPNS 2010 Lowongan CPNS Tenaga Medis di Tarakan Tes CPNS Kejaksaan Jambi Lowongan CPNS Kementrian Perhubungan Formasi Tenaga Teknis Paling Banyak Dibutuhkan Perekrutan CPNS Kaltim 2010 BNN dan BKKBN Buka Lowongan CPNS Penerimaan Cpns Dosen UNM Formasi CPNS Dosen dan Teknis di Unhas Penerimaan Cpns Pemprov Sumatera Utara Lowongan CPNS di Kejati Jateng Lowongan Formasi CPNS Pemkab Brebes Penerimaan CPNS Bangka 2010 Penerimaan CPNS USU 2010 Ujian CPNS Bekerjasama dengan PTN dan LSM Lowongan CPNS Provinsi Sumatera Barat (Sumbar) Tahun 2009 Pemkot Pontianak Bagikan Nomor Peserta Test CPNS November 2009 Lowongan CPNS Kementrian Pemberdayaan Perempuan dan Perlindungan Anak 2010 Lowongan CPNS di Kabupaten Bandung Banyak Posisi Lowongan CPNS Kementrian Pekerjaan Umum (PU) 2010 cpns kementan 2010 cpns kementan hasil seleksi cpns D3 pertanian kementrian pertanian CPNS 2010 pendidikan kimia pengumuman kelulusan cpns kementrian pertanian pengumuman seleksi cpns kementan pengumuman seleksi cpns kementan 2010 pengumuman seleksi lamaran deptan go id pertanian CPNS Kalteng 2010 CPNS Sulsel 2010 CPNS Bengkulu 2010 CPNS Jawa Tengah 2010 CPNS Kemdiknas 2010 CPNS Kejaksaan 2010 CPNS KEMENKES/DEPKES 2010 CPNS SUMUT 2010 CPNS DKI Jakarta 2010 Formasi CPNS Depag 2010 Lowongan Application Technician di Jakarta Januari Februari 2010 Penerimaan CPNSD Provinsi Jawa Timur Tahun 2009 CPNS Kejaksaan Tahun 2010 Lowongan CPNS Kabupaten Dairi Bulan November Tahun 2009 Pengumuman Hasil Seleksi Administrasi CPNS PPATK 2010 cpns pengadilan 2010 www depkumham go id cpns sumbar 2010 cpns medan 2010 lowongan cpns sumbar 2010 cpns 2010 medan www depkumham go id pengumuman pengumuman seleksi administrasi cpns depkumham 2010 pengumuman hasil seleksi administrasi depkumham 2010 cpns sumsel 2010 pendaftaran cpns kab mojokerto tahun 2010 hasil tes cpns depkumham 2010 kalteng pormasi cpns kab bone lowongan cpns 2010 kabupaten pesisir selatan lowongan administrasi tangerang september 2010 Cpns november sumatera selatan 2010 jadwal pendaftaran cpns sumbar 2010 pengumuman cpnsd kab gunung kidul 2010 pengumuman tes cpns sumbar 2010 penerimaan cpns kodam wirabuana memblokir instal program cara memblok instalasi kenapa warnet lambat loading CRA INSTAL BILING SERVER cara gunakan wp super cache cara koneksi client billing dengan server trik memblokir install sembarangan cara mengatasi index of