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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/06/01 17:48
Read: times


 
#16329 - RE: Help with RAD51.
I use the compiler wich cames with the RAD51 freeware. I thint it's name is 8051 cross assembler.
In 89c420, sfr registers that end in 0h or 8h are bit addressable says the datasheet.
Well, so i'll need to put this register's bits in the config file.
But i don't understand how to get the address of this bits.
If i declare:
P0 SFR 080H
SP SFR 081H
DPL SFR 082H
DPH SFR 083H
DPL1 SFR 084H
DPH1 SFR 085H
DPS SFR 086H
PCON SFR 087H
TCON SFR 088H
TMOD SFR 089H
TL0 SFR 08AH
TL1 SFR 08BH
TH0 SFR 08CH
TH1 SFR 08DH
CKCON SFR 08EH

how can i declare:
IT0 BIT 088H
IE0 BIT 089H
IT1 BIT 08AH
IE1 BIT 08BH
TR0 BIT 08CH
TF0 BIT 08DH
TR1 BIT 08EH
TF1 BIT 08FH
?

Some addresses are the same...



List of 14 messages in thread
TopicAuthorDate
Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      
RE: Help with RAD51.            01/01/70 00:00      

Back to Subject List