add shorthand for scratch registers

This commit is contained in:
DataHoarder 2021-08-03 17:52:42 +02:00
parent 7ffaa962a3
commit ee8c4ed7de

View file

@ -15,6 +15,8 @@
.constant RRET_X std_RETURN_VALUE_EXTRA ;;Alias
.constant P0 std_PARAMETER_0
.constant P1 std_PARAMETER_1
.constant S0 std_SCRATCH_0
.constant S1 std_SCRATCH_1
;; These are offset registers to be called with <OP>~2 to access stack frame parameters
.constant P2 %0, +1 ;; Equivalent to same address in GET <Reg>, 1