view lib/kreiderclib/clbits.as @ 3083:f631d26d4913

level1: Rename "coco1" DriveWire modules to "38400" Better reflects the fact that only the baud rate is different in these modules.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 26 Jul 2015 10:38:59 +0200
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