Mercurial > hg > Members > kono > nitros9-code
diff lib/kreiderclib/setjmp.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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib/kreiderclib/setjmp.as Thu May 23 05:49:13 2013 -0500 @@ -0,0 +1,25 @@ +* Disassembly by Os9disasm of setjmp.r + + section code + +setjmp: ldx 2,s + ldd ,s + std 2,x + sty 6,x + stu 4,x + sts ,x + clra + clrb + rts +longjmp: ldx 2,s + ldy 6,x + ldu 4,x + ldd 4,s + bne L001e + ldb #1 +L001e lds ,x + leas 2,s + jmp [2,x] + + endsect +