Docsity

Microprocessor and Microcontroller Lab, Assignments of Microprocessors

Partial preview of the text

Download Microprocessor and Microcontroller Lab and more Assignments Microprocessors in PDF only on Docsity!

SUBJECT

Microprocessor and

Microcontroller

LAB

Assignment#

Submitted By: MUHAMMD FAHAD USMAN (UET-35) Class: B.sc EE (18) Submitted to: Engr. Ayesha Saddiqua Dated: 13/05/

Task Area:

Questiion #1: Code:

  1. Back:MOV a,#55h
  2. MOV P1,a
  3. Lcall delay
  4. MOV a,#0aah
  5. MOV P1,a
  6. Lcall delay
  7. Sjmp back
  8. Org 300h
  9. delay:mov r5,#0ffh 10.again:djnz r5,again 11.ret Output: