lvalues stands for left-values and rvalues is right-values[2]
lvalue is an expression referring to an object
Data storage for rvalues describes in ASM.[1]
mov #1, n
we could see 1 is a contant number, not a variable. the rvalue 1 never appears as an object in the data space.
Reference
[1] http://ieng9.ucsd.edu/~cs30x/Lvalues%20and%20Rvalues.htm
[2] http://www.c4learn.com/c-programming/c-r-value-expression/
[3] http://eli.thegreenplace.net/2011/12/15/understanding-lvalues-and-rvalues-in-c-and-c experitment
No comments:
Post a Comment