view lib/kreiderclib/clbits.as @ 3162:c44cd20907bd

sysgo.asm: Delete trailing whitespace, fix indent (no functional change) Add comments and vertical whitespace for readability.
author Neal Crook <foofoobedoo@gmail.com>
date Thu, 06 Apr 2017 22:04:46 +0100
parents 1647f1874cdf
children
line wrap: on
line source

* Disassembly by Os9disasm of clbits.r

 section code

_land: ldd   2,s 
 anda  ,x 
 andb  1,x 
 std   _flacc,y 
 ldd   4,s 
 anda  2,x 
 andb  3,x 
 std   _flacc+2,y 
 lbra  _lbexit 
_lor: ldd   2,s 
 ora   ,x 
 orb   1,x 
 std   _flacc,y 
 ldd   4,s 
 ora   2,x 
 orb   3,x 
 std   _flacc+2,y 
 lbra  _lbexit 
_lxor: ldd   2,s 
 eora  ,x 
 eorb  1,x 
 std   _flacc,y 
 ldd   4,s 
 eora  2,x 
 eorb  3,x 
 std   _flacc+2,y 
 lbra  _lbexit 
_lnot: lda   ,x 
 ora   1,x 
 ora   2,x 
 ora   3,x 
 beq   L0052 
 clrb   
 clra   
 rts    
L0052 ldd   #1 
 rts    

 endsect