 
      
    | You are here | techtldr.com | ||
| | | | | matthieu.io | |
| | | | | ||
| | | | | imapenguin.com | |
| | | | | A common task in our code is to determine the length of something. In this example, let's check the length of a string like "are you keeping up?" In Python, this is crazy easy. #!/usr/bin/env python message = "are you keeping up?" len(message) In 6510 Assembly, this is also easy. Not crazy easy, but straightforward anyway. messagelength ldx #$00 checkdel lda message,x cmp #$00 ; or whatever we're using as a delimeter beq done inx jmp checkdel done stx messagelen rts .byte messagelen 0 message .null "are ... | |
| | | | | blog.jak-linux.org | |
| | | | | The following example demonstrates the features of debimg core, and how it can be used to fetch a some packages. As you will see when you run this example, debimg uses SHA1 filenames for the downloaded files. This may be changed in a future version. There is also an improved version of this example, which creates a repository, but the needed module (debimg.core.repository) is not public yet, because its far from being finished. I expect to complete repository code on Wednesday. | |
| | | | | thedailyspur.wordpress.com | |
| | | Today's word is adjust. Get the definition from dictionary.com or from the urban dictionary. If you use a WordPress, pingbacks should automatically track back to this page if you put in a link. If you use another blogging system, post your link in the comments so others can follow your work. Spam will be deleted. | ||