view lib/kreiderclib/setjmp.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 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