Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/07/00 05:22
Read: times


 
#4931 - RE: Problem with Winbond 78E52
Hi Krasimir,

please check the generated code,
for "mov A,P4" it must be: E5 D8

Otherwise its a syntax error or a compiler error, but on the Keil compiler it works.
Maybe some controls missing, since on the Keil it must be written:

#pragma src
#include<reg51.h>
sfr P4=0xD8;

#pragma asm // switch from C to inline assembler
mov a, P4
mov SBUF, a
#pragma endasm // switch back to C


Peter


List of 7 messages in thread
TopicAuthorDate
Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      
RE: Problem with Winbond 78E52            01/01/70 00:00      

Back to Subject List