Note that it has a potential problem that you cannot re-define BaseReg for other part of code when it is defined as a label. If such problem occurs, you can get around it with a simple "undefine" macro:
Code: |
macro undefine name
{ local new
define name new }
Bitness = 32
undefine BaseReg
if Bitness=16
label BaseReg at bp
else
label BaseReg at ebp
end if
|
|