Professional Documents
Culture Documents
My courses
My books My folder Career Life
home / study / engineering / computer science / computer science questions and answers / 15. write a program to toggle all the bits of p1 and p2 …
Question: 15. Write a program to toggle all the bits of P1 and P2 continu… Post a question
Answers from our experts for your tough
homework questions
Enter question
ORG 0000H
MOV P1,#55H
p1=0101 0101
MOV P2,#55H
p2=0101 0101
ACALL DELAY
MOV P1,#0AAH
p1=1010 1010
MOV P2,#0AAH
p2=1010 1010 Business... Algebra... Understand...
ACALL DELAY
SJMP HERE
CPL P1 3rd Edition 13th Edition 3rd Edition
DJNZ R1,BACK
RET
END
Comment
Q: 9. Write a program to get 8-bit data from P1 and send it to ports PO, P2, and P3. 10. Write a program to toggle all the
bits of P1 and P2 continuously a) Using 99H and 66H b) Using the CPL instruction. 11. Write a program to toggle P1.3,
P1.7, and P2.5 continuously without disturbing the rest of the bits.
A: See answer
Show more
COMPANY LEGAL & POLICIES CHEGG PRODUCTS AND SERVICES CHEGG NETWORK CUSTOMER SERVICE
About Chegg Advertising Choices Cheap Textbooks Chegg Math Solver EasyBib Customer Service
Chegg For Good Cookie Notice Chegg Coupon Mobile Apps Internships.com Give Us Feedback
College Marketing General Policies Chegg Play Sell Textbooks Thinkful Manage Subscription
Corporate Development Intellectual Property Rights Chegg Study Help Solutions Manual
Investor Relations Terms of Use College Textbooks Study 101
Jobs Global Privacy Policy eTextbooks Textbook Rental
Join Our Affiliate Program DO NOT SELL MY INFO Flashcards Used Textbooks
Media Center Honor Code Learn Digital Access Codes
Site Map Honor Shield Uversity Chegg Life
Chegg Writing