view lib/kreiderclib/strnucmp.as @ 3285:345ff5806dd7

Correct coco.d filename in shipped Defsfile files It seems that 8 years ago in commit 2624:b8c7b7fbf3c9 the coco defs were put into a new "coco.d" (from "systype"), and the various level*/<port>/defsfile were updated. However, the level*/<port>/defs/Defsfile (that are copied to the disk images under DEFS) were apparently wrongly updated.
author hpmachining <aur@hpminc.com>
date Thu, 18 Jun 2020 20:29:32 +0200
parents 1647f1874cdf
children
line wrap: on
line source

* Disassembly by Os9disasm of strnucmp.r

 section code

strnucmp: pshs  y,u 
 ldu   8,s 
 ldd   10,s 
 beq   L0037 
 bra   L0017 
L000a ldd   10,s 
 subd  #1 
 std   10,s 
 beq   L0035 
 ldb   ,u+ 
 beq   L0035 
L0017 ldb   ,u 
 clra   
 pshs  d 
 lbsr  toupper 
 std   ,s 
 ldx   8,s 
 ldb   ,x+ 
 stx   8,s 
 clra   
 pshs  d 
 lbsr  toupper 
 leas  2,s 
 subd  ,s++ 
 beq   L000a 
 bra   L0037 
L0035 clra   
 clrb   
L0037 puls  y,u,pc 

 endsect