Question: Modify the code so that it generates different signals on the different pins of port 1. The signals should all have duty cycles equal to

 Modify the code so that it generates different signals on the

Modify the code so that it generates different signals on the different pins of port 1. The signals should all have duty cycles equal to 50 %, and frequencies multiples of 2, starting from the most significant bit, which should have the least frequency. ( Assembly 8051 micro-controller).

LOOP: ORG 0000H SETB P1.0 ;NOP CLR P1.0 SJMP LOOP ; Directive ; Set Pin 0 of Port 1 to high (1 mc) ; No Operation (1 mc) ; Set Pin 0 of Port 1 to low (1 mc) ; Short Jump to beginning (2 mc) ; Directive END

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 Databases Questions!