Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||
1 |
scall |
If ( SR[M2:M0] == {B'000 or B'001} ) If (microarchitecture == AVR32A) *(--SPSYS) = PC + 2; *(--SPSYS) = SR; PC = EVBA + 0x100; SR[M2:M0] = B'001; else RARSUP = PC + 2; RSRSUP = SR; PC = EVBA + 0x100; SR[M2:M0] = B'001; else LRCurrent Context = PC + 2; PC = EVBA + 0x100; |
none |
Rev1+ |
|
The scall instruction performs a supervisor routine call. The behaviour of the instruction is dependent on the mode it is called from, allowing scall to be executed from all contexts. Scall jumps to a dedicated entry point relative to EVBA. Scall can use the same call convention as regular subprogram calls.
Q: |
Not affected |
V: |
Not affected |
N: |
Not affected |
Z: |
Not affected |
C: |
Not affected |