Vocabularycpu.
architectureInputstemp1 | a register symbol |
temp2 | a register symbol |
OutputsNone
Word descriptionEmits machine code for saving pointers to the callstack, datastack and retainstack in the current context field struct.
ExamplesUSING: cpu.architecture make ;
[ RAX RBX %save-context ] B{ } make disassemble
0000000000e63ab0: 498b4500 mov rax, [r13]
0000000000e63ab4: 488d5c24f8 lea rbx, [rsp-0x8]
0000000000e63ab9: 488918 mov [rax], rbx
0000000000e63abc: 4c897010 mov [rax+0x10], r14
0000000000e63ac0: 4c897818 mov [rax+0x18], r15
DefinitionMethods