A83: Re: Re: Re: Matrices and Lists...
[Prev][Next][Index][Thread]
A83: Re: Re: Re: Matrices and Lists...
Thanks again...those functions were taken straight from the Ti
documentation on lists.
Here's the rest of the explanation just to help anyone else:
;---------------------------------------------------------
; _ADRLELE : COMPUTE THE ADDRESS OF LIST ELEMENT |
; |
; |
; **** WILL CHECK ELEMENT (1) FOR REAL / CPLX *** |
; |
; INPUT : DE = ADDRESS OF LIST START IN MEMORY = SIZE |
; DE+2 = ADDRESS OF ELEMENT (1) |
; HL = ELEMENT TO GET ADDRESS OF (1 to n) |
; |
; OUTPUT : HL = ADDRESS OF ELEMENT (HL). |
; A = 0 IF REAL |
;---------------------------------------------------------
;
;---------------------------------------------------------
; _GETLTOOP1 : GET ELEMENT (HL) FROM LIST AT (DE) TO OP1
; |
; INPUT : |
; HL = ELEMENT TO GET |
; (DE) = ADDRESS OF SIZE OF LIST
; |
; OUTPUT : |
; OP1 = LIST ELEMENT IF REAL |
; OP1/OP2 = ELEMENT IF COMPLEX |
;---------------------------------------------------------
;
;---------------------------------------------------------
; _PUTTOL : WRITE OP1/OP2 TO LIST ELEMENT HL |
; WITH BASE ADDRESS DE. |
; |
; INPUT : |
; HL = ELEMENT TO STORE TO |
; DE = ADDRESS OF SIZE OF LIST |
; OP1 = DATA IF REAL |
; OP1/OP2 = DATA IF CPLX |
; OUTPUT : |
; OP1 OR OP1/OP2 WRITTEN TO LIST |
;---------------------------------------------------------
I'm one of those "learn by example" guys...and I'd really appreciate it you
could do some small program that shows these functions in use. You don't
have to do a whole functioning program...but perhaps just the segment code
that involves these guys. Please, if not Trey, then someone...:)
James.