view lib/kreiderclib/strcmp.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
line wrap: on
line source

* Disassembly by Os9disasm of strcmp.r

 section code

strcmp: pshs  u 
 ldx   4,s 
 ldu   6,s 
 bra   L000c 
L0008 ldb   ,u+ 
 beq   L0013 
L000c ldb   ,u 
 subb  ,x+ 
 beq   L0008 
 negb   
L0013 sex    
 puls  u,pc 

 endsect