Assembly language blinking LED

User Generated

Cflpubm_94

Programming

Description

Write a code in 8051 microcontroller assembly language to make two separate LEDs do work individual or blink together Details are attached


Assignment details: https://www.dropbox.com/s/w4g7d9ezwpkpk23/Asn01-1.pdf?dl=0

Code example/guide: https://www.dropbox.com/s/4mot8ed03bee0q0/Day4.pdf?dl=0


Unformatted Attachment Preview

iPad 01:52 * 67% < := Asn01 ผ A EE 354 Assignment 1 8051 Assembly Language Assigned: August 28, 2017 Due: Sept. 6, 2017 Write an assembly language program that runs on the AT89C51CC03 board. Add two LEDs to your board at P1.0 and P1.1 and add two push button switches to the board on P3.6 and P3.7. All resistors are 1K. P1.0-** P3.7 P1.1 to P3.6 Your program should do the following: P3.7 switch P3.6 switch P1.0 LED P1.1 LED open open off off open closed off on closed open on off closed closed blinks blinks The blink rate for the LEDs when both switches are closed should be about 10 times second. Bring your completed project to class on September 6 for an in class demo. Turn in the following: Cover sheet with your name, assignment number, and date turned in. A hard copy of your commented assembly code. 1 of 1
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

ORG 0H ; start at originJMP_BEGIN: JB P3.7, OPEN1 JB P3.6, OPEN2 SJMP BLINKSOPEN1: JB P3.6, OFF SJMP ONP11OPEN2: SETB P1.0 ...


Anonymous
Just what I was looking for! Super helpful.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags