We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi there i strucked with the following problem. i am using the 89s52.from that i m using the one of timer as the counter,after some time i am going to stop the counter and the value(count) form the counter i want to shift or to load to the to another reg. how can i do this with the help of accumalator is fine but in which way as TH and TL is there how i move the data from these two to ACC. plz any one can explain me with proper example
as i said with the ACC is fine i.e i am aware of the mov instruction i am facing the problem when i collect the data suppose THMOVE from ACC to OTHER REG1 and TLMOVE from ACC to OTHER REG2 but when i want to combne it to the single number at that point what would i do as while loading the the value in to the we ex.AA00 AA moved to the TH and 00 moved to TL but when i retrived the data how i combined the data
On an 8-bit processor, you always have to do everything 8 bits at a time!
SO any 16-bit quantity will always have to be handled as two 8-bit values; low & high.