ARM Code: Length of carriage return terminated String

ARM Assembly Code to find the length of Carriage return terminated string

This code is tested in Keil uVision 4. 

Basically The Carriage Return (CR) character (0x0D, r) moves the cursor to the beginning of the line without advancing to the next line. This character is used as a new line character in Commodore and Early Macintosh operating systems (OS-9 and earlier). 

ARM Code :

Output Pic :

Download Code:

 To Download the Code click on the link below:

 LCD Program Download

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Advertisment ad adsense adlogger