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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/04/08 12:48
Read: times


 
#156401 - Generated code looks fine
Responding to: ???'s previous message
Compiled with an old Keil C51


;     if (LSX1 || LSX2) {
			; SOURCE LINE # 12
	JB   	LSX1,?C0002
	JNB  	LSX2,?C0001
?C0002:
;         ENA = 1;
			; SOURCE LINE # 13
	SETB 	ENA
;         ENB = 1;
			; SOURCE LINE # 14
	SETB 	ENB
;     } else {
			; SOURCE LINE # 15
	SJMP 	?C0003
?C0001:
;         ENA = 0;
			; SOURCE LINE # 16
	CLR  	ENA
;         ENB = 0;
			; SOURCE LINE # 17
	CLR  	ENB
;     }                           //(not working
			; SOURCE LINE # 18
?C0003:


David.

List of 4 messages in thread
TopicAuthorDate
logical OR in Keil C            01/01/70 00:00      
   use the SRC directive            01/01/70 00:00      
      Or just look in the listing file            01/01/70 00:00      
   Generated code looks fine            01/01/70 00:00      

Back to Subject List