The blog talks about variety of topics on Embedded System, 8085 microprocessor, 8051 microcontroller, ARM Architecture, C2000 Architecture, C28x, AVR and many many more. Also includes some projects that have been worked upon and also episodes to Embedded System Podcast.
Saturday, August 27, 2011
WAP for 8051 to transfer letter 'A' serially continuously
START :MOV A, #'A'; ASSIGN A WITH SERIAL DATA ; P1.1 IS USED MOV R7, #08H; COUNTER OF 8 AS ACCUMULATOR OF 8 BIT BACK : RRC A; ROTATE BITS THROUGH CY MOV P1.1, C; TRANSFER CONTENTS OF CARRY TO PORT PIN DJNZ R7, BACK; SJMP START; END
No comments:
Post a Comment