look at following code, i have no idea about what does "KEY_RESET" in the "if" statement read from, "P1" or "Pin of P1" ?("Parallel Port 1" window display in the simulator)
sbit KEY_RESET = P1^5; if(KEY_RESET == 1) { ...
"sorry for my poor english" Your English seems fine - perhaps you could apply it to look up "sbit" in the C51 Manual. I think that should explain everything for you?
i have no idea about what does "KEY_RESET" in the "if" statement read from, "P1" or "Pin of P1" ?("Parallel Port 1" window display in the simulator) Do you mean that you would like to know if the if statement reads the Pin P1 or the Latch of P1 ? That is, whether it uses a read-modify-write instruction or not ? If so, then your best bet would be to look at the actual assembly code of the statement.
also i'd like to know too the answer of the above question cuz i wanna know how to check if a 1 ( from a sensor ) has been on the pin or not ... cuz the statement ( if pin == 1) , is true cuz we preset it as one to be an input pin...
cuz ... cuz ... cuz i do not responde because I find your cussing offensive. THIS IS A FORUM, NOT A FRIGGIN' CELLPHONE Erik
oh man, im non-native :S , english isnt my mother language :s
im non-native I can fully understand language problems, but stupid, so called "smart" abbreviations are NOT a language probkem, they are pure unadulterated laziness or, maybe, an attempt by someone, who is not, to appear "smart". Erik
hmm, could u response to my question ?
I posted "do not responde because I find your cussing offensive. THIS IS A FORUM, NOT A FRIGGIN' CELLPHONE" you resopond hmm, could u response to my question Maybe you should look for another career, programming requires the ability to read. Erik
We are on FORUMS about KEIL Software , If U know the answer or would like to discuess the problem then reply to me , who told u i need a teacher in english ????
We are on FORUMS about KEIL Software , If U know the answer or would like to discuess the problem then reply to me , who told u i need a teacher in english ???? I know the answer, and have known it since the beginning of this thread, but if you rhink I will help someone with your attitude, forget it! I have tried and tried to get you to ask in a form that would make me want to answer, but now I give up. Since you can not solve your attitude problem, I doubt you can solve your code problem, but I do wish you good luck figuring it out on your own. Erik
http://www.keil.com/forum/docs/thread7691.asp
faint... en, i found the answer. thanks ;)
Shen, I'm so sorry, when Ahmed hijacked the thread I did not realize that he was not the original poster. Please understand that all the discussion on language (you - not u etc) in no way was directed at you. Now that you chime in again I realize that there was a decent person asking originally. Again, my apology to you. Shen, DO come back when you have a question "poor english" is not a problem "lazy english" is. Erik
you are welcome! thanks to everybody here again.... xie xie