view lib/kreiderclib/clmul.as @ 2833:0f3030598435 lwtools-port

Really fix level 1 builds: Do not use os9 dcopy Bugs in os9 dcopy make it run into infinite recursion before it eventually dies of buffer overflow. Instead use os9 makdir and copy, which was already used some places.
author Tormod Volden <debian.tormod@gmail.com>
date Wed, 10 Jul 2013 19:09:05 +0200
parents 1647f1874cdf
children
line wrap: on
line source

* Disassembly by Os9disasm of clmul.r

 section code

_lmul: ldd   2,x 
 pshs  d 
 ldd   ,x 
 pshs  d 
 leax  _flacc,y 
 clr   ,x 
 clr   1,x 
 lda   9,s 
 ldb   3,s 
 mul    
 std   2,x 
 lda   9,s 
 ldb   2,s 
 mul    
 addd  1,x 
 std   1,x 
 bcc   L0024 
 inc   ,x 
L0024 lda   8,s 
 ldb   3,s 
 mul    
 addd  1,x 
 std   1,x 
 bcc   L0031 
 inc   ,x 
L0031 lda   9,s 
 ldb   1,s 
 mul    
 addd  ,x 
 std   ,x 
 lda   8,s 
 ldb   2,s 
 mul    
 addd  ,x 
 std   ,x 
 lda   7,s 
 ldb   3,s 
 mul    
 addd  ,x 
 std   ,x 
 lda   9,s 
 ldb   ,s 
 mul    
 addb  ,x 
 stb   ,x 
 lda   8,s 
 ldb   1,s 
 mul    
 addb  ,x 
 stb   ,x 
 lda   7,s 
 ldb   2,s 
 mul    
 addb  ,x 
 stb   ,x 
 lda   6,s 
 ldb   3,s 
 mul    
 addb  ,x 
 stb   ,x 
 leas  4,s 
 lbra  _lbexit 

 endsect