A83: List Operations
[Prev][Next][Index][Thread]
A83: List Operations
Well, I guess I answered my own question - I asked about lists,
looked in the TI-83 docs, here's what I found (for benefit of Dimitri
& others)
;---------------------------------------------------------
; _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 |
;---------------------------------------------------------
Hope this helps. Anyone interested in joining my MechwarASM project?
Jonathan Wang
jwang@isb.bj.edu.cn
jonathan_wang@hotmail.com
Come visit my home page:
http://www.htmlinfo.home.ml.org/
Quote of the day:
Part of the secret of success in life is to eat
what you like and let the food fight it out inside.
- Mark Twain