6621
This commit is contained in:
parent
8620c1edc3
commit
3ae9d0ed54
5
mu.md
5
mu.md
|
@ -127,6 +127,11 @@ or memory.
|
|||
Variables on the stack are never initialized. (They're always implicitly
|
||||
zeroed them out.) Variables in registers are always initialized.
|
||||
|
||||
Register variables can go in 6 registers: `eax`, `ebx`, `ecx`, `edx`, `esi`
|
||||
and `edi`. Defining a variable in a register either clobbers the previous
|
||||
variable (if it was defined in the same block) or shadows it temporarily (if
|
||||
it was defined in an outer block).
|
||||
|
||||
Variables exist from their definition until the end of their containing block.
|
||||
Register variables may also die earlier if their register is clobbered by a
|
||||
new variable.
|
||||
|
|
Loading…
Reference in New Issue