Add parameter registers for GET usage
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
71f3fb6f36
commit
525eb6d799
|
@ -29,6 +29,23 @@
|
|||
.constant P15 %0, +14 ;; Equivalent to same address in GET <Reg>, 14
|
||||
.constant P16 %0, +15 ;; Equivalent to same address in GET <Reg>, 15
|
||||
|
||||
;; These are parameter registers to be called with GET to access stack frame parameters
|
||||
.constant GET_P2 1
|
||||
.constant GET_P3 2
|
||||
.constant GET_P4 3
|
||||
.constant GET_P5 4
|
||||
.constant GET_P6 5
|
||||
.constant GET_P7 6
|
||||
.constant GET_P8 7
|
||||
.constant GET_P9 8
|
||||
.constant GET_P10 9
|
||||
.constant GET_P11 10
|
||||
.constant GET_P12 11
|
||||
.constant GET_P13 12
|
||||
.constant GET_P14 13
|
||||
.constant GET_P15 14
|
||||
.constant GET_P16 15
|
||||
|
||||
;; Ephemeral registers to be used within functions. These values may not be kept when calling other functions. They can be used when returning values if necessary.
|
||||
;; Some std functions might restore these values.
|
||||
.constant std_EPHEMERAL_REGISTER_0 BSM_SCRATCH_START +0x1F0
|
||||
|
|
Loading…
Reference in a new issue