Microcontroller › 8051 › Anyway to convert assembly code in to C code? › for multi ple
March 10, 2011 at 11:09 am
#5700
dagakshay
Participant
for multi ple statements
#include<reg52.h>
void main (void)
{
while(1)
{
P1=0xff;
asm:
{
“MOV R5,#0x13” ;
“MOV R5,#0x13” ;
};
P1=0x00;
}
}
i think it might work