Assembly Language please 4

Programming
Tutor: None Selected Time limit: 1 Day

Write a program to monitor Bit PJ3, which is connected to a switch. When it is HIGH, send 55H to the output port, PORTB. You also need to define the PJ3 bit as an input port, and PORTB as an output port.

Jul 29th, 2014

SETB PJ3
AGAIN: JNB PJ3, AGAIN
MOV B,#55H
SJMP AGAIN

Jul 29th, 2014

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Jul 29th, 2014
...
Jul 29th, 2014
Dec 9th, 2016
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer