Last visit was: Thu May 01, 2025 4:57 pm
It is currently Thu May 01, 2025 4:57 pm



 [ 31 posts ]  Go to page Previous  1, 2, 3
 FMTK 
Author Message

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 WWW
 [ 31 posts ]  Go to page Previous  1, 2, 3

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

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software