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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Erik Malund
03/07/12 13:46
Modified:
  03/07/12 13:50

Read: 591 times
Mt Airy, Nc
USA


 
#186487 - what does the instruction spell out
Responding to: ???'s previous message
WRITE_TABLE_SERIAL:
NEXT_BYTE:

        CLR   ACC ;;***** read the instruction below @A PLUS DPTR


    	MOVC  A, @A+DPTR   ;LET ACC = THE POINT THAT VALUE OF ACC POINTS TO IN DATAPOINTER
    	LCALL WRITE_SERIAL ;CALL ROUTINE
    	INC   DPTR	   ;INCREMENT DATAPOINTER TO WRITE NEXT BYTE OF CODE
	DJNZ  R0,NEXT_BYTE ;LOOP R0 IF R0 =! 0



two comments,
1) your 'comment' "LOOP R0 IF R0 =! 0" is not a comment, a comment should not explain the instruction, but state the intention behind using it
2) GET RID OF THE TABS when posting code, Craig does not know what your tab settings are. USE SPACES ONLY.

Erik


List of 17 messages in thread
TopicAuthorDate
Serial coms, bytes not matching in serial capture      Dave McNamara      03/07/12 10:22      
   Couple of things at first glance...      Robert Revens      03/07/12 12:52      
      Response      Dave McNamara      03/07/12 13:13      
         OK      Robert Revens      03/07/12 14:09      
   what does the instruction spell out      Erik Malund      03/07/12 13:46      
      Instruction says      Dave McNamara      03/07/12 14:17      
         Got it      Dave McNamara      03/07/12 14:29      
            have a good read      Erik Malund      03/08/12 07:16      
               Nitgen FIM5360 module      Dave McNamara      03/09/12 11:46      
                  Not familiar with the module...      Robert Revens      03/09/12 14:03      
                     Boot up time...      Robert Revens      03/09/12 14:15      
                     Response      Dave McNamara      03/09/12 14:55      
                        Isn't boot time always time from reset or time from power-on      Per Westermark      03/09/12 15:10      
                           Ok      Dave McNamara      03/09/12 15:18      
                        SCON1...      Robert Revens      03/10/12 05:24      
                           Jumping from RET to Jump Start      Dave McNamara      03/10/12 07:43      
   Please Ignore last post, issue resolved      Dave McNamara      03/10/12 10:30      

Back to Subject List