求大佬解释这两个for语句怎么执行的啊
#include<reg51.h>#include<intrins.h>#define uint unsigned int#define uchar unsigned charuchar temp,i;sbit FM=P2^3;void delay(uint);void main(){ while(1) { P1=0xff; temp=0xfe; for(i=0;i<8;i++){ P1=temp; FM=0; delay(500); FM=1; delay(500); temp=_crol_(temp,1);}temp=0x7f;for(i=0;i<8;i++){ P1=temp; FM=0; delay(500); FM=1; delay(500); temp=_cror_(temp,1);} }}void delay(uint z){ uint x,y; for(x=z;x>0;x--) for(y=110;y>0;y--) ;}
#include<reg51.h>#include<intrins.h>#define uint unsigned int#define uchar unsigned charuchar temp,i;sbit FM=P2^3;void delay(uint);void main(){ while(1) { P1=0xff; temp=0xfe; for(i=0;i<8;i++){ P1=temp; FM=0; delay(500); FM=1; delay(500); temp=_crol_(temp,1);}temp=0x7f;for(i=0;i<8;i++){ P1=temp; FM=0; delay(500); FM=1; delay(500); temp=_cror_(temp,1);} }}void delay(uint z){ uint x,y; for(x=z;x>0;x--) for(y=110;y>0;y--) ;}
