Mercurial > hg > Members > kono > nitros9-code
annotate lib/kreiderclib/setjmp.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 (2015-07-26) |
parents | 1647f1874cdf |
children |
rev | line source |
---|---|
2824 | 1 * Disassembly by Os9disasm of setjmp.r |
2 | |
3 section code | |
4 | |
5 setjmp: ldx 2,s | |
6 ldd ,s | |
7 std 2,x | |
8 sty 6,x | |
9 stu 4,x | |
10 sts ,x | |
11 clra | |
12 clrb | |
13 rts | |
14 longjmp: ldx 2,s | |
15 ldy 6,x | |
16 ldu 4,x | |
17 ldd 4,s | |
18 bne L001e | |
19 ldb #1 | |
20 L001e lds ,x | |
21 leas 2,s | |
22 jmp [2,x] | |
23 | |
24 endsect | |
25 |