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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/10/02 11:39
Read: times


 
#30525 - RE: sdcc is there any thing i'm missing


okey here is the hex file and c source file.
please help me understand this. as can been seen pin 0 of port 1 is being set and reset.


Shahzad



#include <8051.h>

void main(void)
{

int a;


while(1)
{
for (a=0;a<5000;a++);
P1_0 = 0;

for (a=0;a<5000;a++);
P1_0 = 1;

}




}



Hex file created by the SDCC

:0400000002005D326B
:01000B0032C2
:0100130032BA
:01001B0032B2
:0100230032AA
:01002B0032A2
:10005D00758107120059E5826003020033020033F7
:1000330012003880FE7A887B131ABAFF011BEA4B41
:1000430070F7C2907A887B131ABAFF011BEA4B70D0
:0A005300F7D29080E02275820022AF
:00000001FF


List of 13 messages in thread
TopicAuthorDate
sdcc is there any thing i'm missing            01/01/70 00:00      
RE: sdcc is there any thing i'm missing            01/01/70 00:00      
RE: sdcc is there any thing i'm missing            01/01/70 00:00      
RE: sdcc is there any thing i\'m missing            01/01/70 00:00      
RE: sdcc is there any thing i\'m missing            01/01/70 00:00      
RE: sdcc is there any thing i\'m missing            01/01/70 00:00      
RE: Peter            01/01/70 00:00      
RE: sdcc is there any thing i'm missing            01/01/70 00:00      
RE: sdcc is there any thing i'm missing            01/01/70 00:00      
RE: sdcc is there any thing i'm missing            01/01/70 00:00      
It works            01/01/70 00:00      
RE: It works            01/01/70 00:00      
RE: It works            01/01/70 00:00      

Back to Subject List