comparison lib/kreiderclib/clnegcompl.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
comparison
equal deleted inserted replaced
2823:ad769d2a03e4 2824:1647f1874cdf
1 * Disassembly by Os9disasm of clnegcompl.r
2
3 section code
4
5 _lneg: lbsr _ltoacc
6 _lnegx: ldd #0
7 subd 2,x
8 std 2,x
9 ldd #0
10 sbcb 1,x
11 sbca ,x
12 std ,x
13 rts
14 _lcompl: ldd ,x
15 coma
16 comb
17 std _flacc,y
18 ldd 2,x
19 coma
20 comb
21 leax _flacc,y
22 std 2,x
23 rts
24
25 endsect
26