Question: Embedded Programming Need to convert the code from the first picture to look like that in the second picture. the below program is in assembly

Embedded Programming

Need to convert the code from the first picture to look like that in the second picture.

Embedded Programming Need to convert the code from the first picture tolook like that in the second picture. the below program is in

the below program is in assembly language so, for compiling the program you need the KEIL or any other same kind of software. When PIR motion sensor will get the O signal at that same time program line will jump directly to ISR (interrupt service routine) and that will execute the ISR contained program and it will give 1 signal at any of output pins for alerting another system for backup or quick response. **PIN 3.2 IS THE PIN FOR INTERRUPT O MEANS PIR SENSOR OUTPUT PIN 0.0 IS THE INPUT FOR THE OTHER SYSTEM FOR ALERTING OR FOR BACK UP ORG 0000H WAKE UP THE CONTROLLER AND GO TO MAIN LJMP MAIN **THE ISR FOR THE INTERRUPT INTO** ORG 0003H SETB PO.0 RET *MAIN PROGRAM FOR INITIALIZATION MAIN : MOV IE, #81H ; ENABLE EXTERNAL INTERRUPT HERE: SJMP HERE END So, form program when pin 3.2 get interrupt at that time it goes to location 0003H and execute program and return to main program the below program is in assembly language so, for compiling the program you need the KEIL or any other same kind of software. When PIR motion sensor will get the O signal at that same time program line will jump directly to ISR (interrupt service routine) and that will execute the ISR contained program and it will give 1 signal at any of output pins for alerting another system for backup or quick response. **PIN 3.2 IS THE PIN FOR INTERRUPT O MEANS PIR SENSOR OUTPUT PIN 0.0 IS THE INPUT FOR THE OTHER SYSTEM FOR ALERTING OR FOR BACK UP ORG 0000H WAKE UP THE CONTROLLER AND GO TO MAIN LJMP MAIN **THE ISR FOR THE INTERRUPT INTO** ORG 0003H SETB PO.0 RET *MAIN PROGRAM FOR INITIALIZATION MAIN : MOV IE, #81H ; ENABLE EXTERNAL INTERRUPT HERE: SJMP HERE END So, form program when pin 3.2 get interrupt at that time it goes to location 0003H and execute program and return to main program

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!