comparison lib/kreiderclib/strlen.as @ 2824:1647f1874cdf lwtools-port

Added Kreidier C library
author Boisy Pitre <boisy.pitre@nuance.com>
date Thu, 23 May 2013 05:49:13 -0500
parents
children
comparison
equal deleted inserted replaced
2823:ad769d2a03e4 2824:1647f1874cdf
1 * Disassembly by Os9disasm of strlen.r
2
3 section code
4
5 strlen: pshs u
6 ldu 4,s
7 L0004 ldb ,u+
8 bne L0004
9 leau -1,u
10 tfr u,d
11 subd 4,s
12 puls u,pc
13
14 endsect
15