|
Slide 5.11: Little endian order Slide 5.13: Calculating data sizes and EQU directive Home |
|
Code I is equal to Code II.
| Code I |
.code
TEMP = 100
mov eax, TEMP
|
|
|||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Code II | .code mov eax, 100 |
name = expression
When a program is assembled, all occurrences of name are replaced by expression, a 32-bit integer value, during the assembler's preprocessor step.
TEMP versus the value 100.
TEMP definition will affect all the values of TEMP occurrences.
| A symbol defined with ‘=’ can be redefined any number of times. The symbol changes value according to the sequential processing of your source code by the assembler. |
|