Question: What will the following program do if LEDs are connected to port 1 ? JOE: MOV P 1 , # 0 FFH MOV R 0

What will the following program do if LEDs are connected to port 1?
JOE:MOV P1,#0FFH
MOV R0,#200
SUE:DJNZ R0,SUE
MOV P1,#0H
MOV R0,#200
BOB:DJNZ R0,BOB
SJMP JOE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!