RE: LZ: User stacks
[Prev][Next][Index][Thread]
RE: LZ: User stacks
MY comment is not specific to the TI-85...
TO allocate a STACK on the Z-80...
Allocate Space for the STACK...
Get and Save the CURRENT STACKPOINTER...
Load the StackPOINTER to the LASTADDRESS+1 of the STACK Allocated...
and when you no longer need the STACK... Load the STACKPINTER with the Saved
Value..
----------
.|From: list-zshell
.|To: ZShell list
.|Subject: LZ: User stacks
.|Date: Tuesday, August 06, 1996 13:48
.|
.|
.| Can someone explain how to define your own stacks??? I think I have
.|some idea, but I don't quite know. Do you allocate memory and then
.|allocate a seperate variable to be a stack pointer to manipulate it?
.|
.|Thanx,
.|
.|EJ
.|
.|
--------------------------------------------------
Karl Von Winkle, Code 541, BLDG-39, Room 103
Naval Undersea Warfare Center
39 Smith Street, New London, CT 06320-5594
EMAIL: VONWINKLE@CODE59.NPT.NUWC.NAVY.MIL(WORK)
EMAIL: VONWINKLE@UCONECT.NET
FAX: (860)440-6584/CT or (401)841-4820/RI
Voice: (860)440-5680/CT or (401)841-2442x216/RI
Beeper: (401)544-6450/CT and RI
--------------------------------------------------