|
|
Last visit was: Thu May 01, 2025 4:57 pm
|
It is currently Thu May 01, 2025 4:57 pm
|
Author |
Message |
robfinch
Joined: Sat Feb 02, 2013 9:40 am Posts: 2307 Location: Canada
|
Setup three separate entry and exit points to the OS. Heavy-weight, medium-weight, and light-weight. The heavy-weight entry point stacks all the registers except a0 (the return value register), as if a ‘C’ routine were to be called and it is unknown which registers could be modified. The light-weight entry point only saves a few register (nine total) and is meant for small functions written in assembler. There are currently about a dozen OS functions that qualify. The medium-weight entry point is somewhere in-between. It saves enough registers to do a more complex routine.
_________________Robert Finch http://www.finitron.ca
|
Tue Apr 08, 2025 2:11 am |
|
Who is online |
Users browsing this forum: claudebot and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|