|
You are here |
ochagavia.nl | ||
| | | | |
www.msoos.org
|
|
| | | | | ||
| | | | |
matbesancon.xyz
|
|
| | | | | Solving a cutting stock problem step by step using Julia and JuMP | |
| | | | |
osarch.org
|
|
| | | | | Google Summer of Code is an annual programme that helps students and those new to open source software make their first steps into contributing code to software projects. GSoC Contributors Read more | |
| | | | |
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 ... | ||