[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[f-cpu] Erin32/64/128



    Nico:    Your question was - How do you handle function pointer and return address in function?  Is it no more data?
 
    I have adequate Local Memory to provide a fixed (dedicated) amount of USER memory for 128 CRT Monitors.  Now; if I understand your question correctly:
 
    The sequence of  execution is:
                1.  Load Accumulator with Arg
                2.  Execute a JST (Jump & Store Return) to Routine X
                3.  X will now contain the incremented Address for return (if desired)
                    and the next series is executed.
                4.  If required or desired; an Indirect Jump is executed which will return
                    to the Address stored in X.
                5.  The software System I am capturing always passes the Arg to the
                    Routine Called for Interrupt considerations.
 
I hope this is the correct answer to your question.  If not - come again.
 
Will have the Erin128 ready in two days.  All changes are made except for the Barrel Shifter.  Not difficult - just time consuming.
 
Dick Hartney