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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/04/05 14:35
Read: times


 
#92887 - Colons?
Responding to: ???'s previous message
Steve,
Thanks for the reply, but I'm not sure where these colons would go. ISR1 and ISR2 are actually each about thirty lines of code, what I wrote was just a summary. For example, ISR1 looks like this:


ORG 0003H
INC R0; ADD GOOD HIT TO COUNT
MOV A, R0
MOV B, #10
DIV AB
MOV DPTR, #400H
MOVC A, @A+DPTR
MOV TMOD, #20H; SET TIMER MODE
MOV TH1, #-3; SET TRANSFER RATE
MOV SCON, #50H; SET TRANSFER TYPE
SETB TR1; START TIMER
MOV SBUF, A; MOV QUOTIENT
DONE1: JNB TI, DONE1
CLR TI
MOV TMOD, #20H; SET TIMER MODE
MOV TH1, #-3; SET TRANSFER RATE
MOV SCON, #50H; SET TRANSFER TYPE
SETB TR1; START TIMER
MOV SBUF, B; MOV REMAINDER
DONE2: JNB TI, DONE2
CLR TI
RET1


Where would the colon go in this case?

List of 11 messages in thread
TopicAuthorDate
Syntax error For ORG Statement            01/01/70 00:00      
   try the metalink documentation            01/01/70 00:00      
   :            01/01/70 00:00      
      Colons?            01/01/70 00:00      
         ask blue, do not expect red answe            01/01/70 00:00      
         Code size            01/01/70 00:00      
            what is the problem?            01/01/70 00:00      
               ISR at 13H            01/01/70 00:00      
            Code Size Reply            01/01/70 00:00      
         re:            01/01/70 00:00      
            and            01/01/70 00:00      

Back to Subject List