HC08 uses both of them,
PIC16 uses  only rMAsk,
STM8 uses only rSurv,
MCS51 uses neither.

   






在2014年02月09 11时33分,"Ben Shi"<powerstudio1st@163.com>写道:

Hello,
here are their definition

bitVect *rMask;               /* registers in use during this instruction */
  bitVect *rSurv;               /* registers that survive this instruction (i.e. they are in use, it is not their last use and they are not in the return) */
It seems both of them indicate regs are keeping values, but what is the difference? Can somebody show me an example to  distinguish?

Ben