Create a way to identify variables within assembly. This will depend on architecture and calling convention:
As a rough example on x86:
Local - $rsp relative
Arguments - $rbp relative
Global - .bss
Subtasking:
A. Provide a calling convention field for functions
i. Automatically detect based on function start/ending
ii. Give user the ability to change manually and re-calculate any identified vars
B. Provide a way to track $sp and do basic maths to identify vars after a push/pop
C. Have CommonFunctionFormat keep track of its own local variables and list them (with renamability) under its label.
Create a way to identify variables within assembly. This will depend on architecture and calling convention: As a rough example on x86:
Subtasking: A. Provide a calling convention field for functions i. Automatically detect based on function start/ending ii. Give user the ability to change manually and re-calculate any identified vars B. Provide a way to track $sp and do basic maths to identify vars after a push/pop C. Have CommonFunctionFormat keep track of its own local variables and list them (with renamability) under its label.