Question: PIC microcontroller PIC18F452 Write Assembly program equivalent to this program The following program in C displays on 7-segment display the decimal digits (0 to 9)
The following program in C displays on 7-segment display the decimal digits (0 to 9) in Indian numeral format: void maino int nums|| - {0x80,60x31,0x72,0x 79,0x31.7.0x30,0x37,0x67); int i; TRISA 0x00; //Set port A as output, used for segment select TRISD 0x00; //Set port D as output, used for data output PORTA-OxOF; // 2 of the 7-segments will be ON. while(1) //Infinite loop 1 4 for(i-0;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
