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

Re: [f-cpu] Manual 0.2.6



Christophe Avoinne wrote:
> Please, I'm not telling we must have both instructions but just to instruct
> how an implementation of a fast syscall can be.


One hack would have a fake stack register and other common registers.
This register would be loaded with the 'real' register in use and use
of this special register (SU?) provides a indirection for system/user stacks.
In system use stack S, in user mode use stack U and SU provides a standard
stack for library functions like in C.
-- 
Ben Franchuk - Dawn * 12/24 bit cpu *
www.jetnet.ab.ca/users/bfranchuk/index.html

*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/