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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/26/00 13:17
Read: times


 
#2341 - RE: 8052 compiler..?
> I'm using the following code to write
> the values to the ports so I can test
> whether or not the chip is being
> programmed.
>
> while(1)
> {
> #asm
> mov P0, 0x128
> mov P1, 0x254
> #endasm
> }
> But when I test it, there are
> different values on the ports.

1. What values?

2. Does P0 have pullups?

3. Look for "output assembler source" or similar option on your compiler, and if there is one, check the listing -- or even post it there, if it is not too big.

--
Tomas


List of 6 messages in thread
TopicAuthorDate
8052 compiler..?            01/01/70 00:00      
RE: 8052 compiler..?            01/01/70 00:00      
RE: 8052 compiler..?            01/01/70 00:00      
RE: 8052 compiler..?            01/01/70 00:00      
RE: 8052 compiler..?            01/01/70 00:00      
RE: 8052 compiler..?            01/01/70 00:00      

Back to Subject List