| ??? 03/31/05 23:47 Read: times |
#90782 - Context Responding to: ???'s previous message |
Ian Bell said:
I can understand that in the context of ISRs but how is that an advantage in regular subroutines? You normaly pass values to a subroutine in registers so if the subroutine immediately switches banks you have lost the passed parameters. I think the idea here is that you do not call across banks. If 2 functions use different banks, they are in different "contexts" and have no business calling each other. Having different banks allows easy "context" switching - without lots of PUSHing and POPing. |
| Topic | Author | Date |
| Registers | 01/01/70 00:00 | |
| my guess | 01/01/70 00:00 | |
| Participation | 01/01/70 00:00 | |
| Old Age | 01/01/70 00:00 | |
| Old but stronger still | 01/01/70 00:00 | |
| just a guess | 01/01/70 00:00 | |
| Powers of Two | 01/01/70 00:00 | |
| when all was new | 01/01/70 00:00 | |
| push and pop | 01/01/70 00:00 | |
| passing | 01/01/70 00:00 | |
| Passing Parameters | 01/01/70 00:00 | |
| yes, with a monitor | 01/01/70 00:00 | |
| Register Overlaying??? | 01/01/70 00:00 | |
| Context | 01/01/70 00:00 | |
not necessarily | 01/01/70 00:00 | |
| my point was | 01/01/70 00:00 | |
| Sausages | 01/01/70 00:00 | |
| Sausage and Chips | 01/01/70 00:00 | |
| no instructions, but gates | 01/01/70 00:00 | |
| Many Gates? | 01/01/70 00:00 |



