push rbx
push rax
next
+
+;;; ========================================
+;;; Return stack operations
+
+ WORD p_ltR, '>R',fasm
+ ;; ( x -- ) ( R: -- x )
+ ;; Move x to the return stack.
+ pop rax
+ pushr rax
+ next
+
+ WORD p_Rgt, 'R>',fasm
+ ;; ( -- x ) ( R: x -- )
+ ;; Move x from the return stack to the data stack.
+ popr rax
+ push rax
+ next
+
+ WORD p_Rget, 'R@',fasm
+ ;; ( -- x ) ( R: x -- x )
+ ;; Copy x from the return stack to the data stack.
+ push qword [rbp]
+ next