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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/31/09 22:53
Read: times


 
#170303 - float?
Responding to: ???'s previous message
David Flanagan said:
MOV THO, #76;
MOV TL0, #01;
MOV TMOD, #01
SETB TR0;
JNB TF0, $;

MOV B, 0.05; Make b 1/20
MOV A, 8CH; Move the overflow value into accumulator
MUL AB Multiply A by B, to find the amount of time it took

What is THO?
And what is at 8CH? Something with a name?
And how does your assembler store floating point values in a register?


List of 5 messages in thread
TopicAuthorDate
LightGate System project 8051            01/01/70 00:00      
   Before you think about assembly language...            01/01/70 00:00      
      Focus on timers            01/01/70 00:00      
         Timer Code            01/01/70 00:00      
            float?            01/01/70 00:00      

Back to Subject List