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

Back to Subject List

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


 
Msg Score: +1
 +1 Informative
 -1 Off-Topic
 +1 Good Answer/Helpful
#73265 - RE: Assemble coding style
Responding to: ???'s previous message
I think that it should be a rule on this Forum that all program listings are given in Courier font, for better readability. Compare these two:
OKKOL:	SETB	PREMAD		; Prepare for Make record of AD values (in FRAM)

	MOV	A,SECBR
	JB	ACC.5,NOCHOV	; Every 2 seconds, check if to give sign to ...

	RL	A
	RL	A		; 2 highest bits change every 2 seconds
	ANL	A,#11B		; This will be compared with existing panel addresses


OKKOL: SETB PREMAD ; Prepare for Make record of AD values (in FRAM)

MOV A,SECBR
JB ACC.5,NOCHOV ; Every 2 seconds, check if to give sign to ...

RL A
RL A ; 2 highest bits change every 2 seconds
ANL A,#11B ; This will be compared with existing panel addresses

The first listing begins with < pre > and ends with < /pre >.


List of 7 messages in thread
TopicAuthorDate
Assemble coding style            01/01/70 00:00      
   RE: Assembler coding style            01/01/70 00:00      
   RE: Assemble coding style            01/01/70 00:00      
   RE: Assemble coding style            01/01/70 00:00      
   RE: Assemble coding style            01/01/70 00:00      
   RE: Assemble coding style            01/01/70 00:00      
      RE: Assemble coding style            01/01/70 00:00      

Back to Subject List