diff options
author | pommicket <pommicket@gmail.com> | 2022-02-12 12:03:00 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-02-12 12:03:00 -0500 |
commit | 0a14c8ca2a31313cd7be8bdf8b8cb63e75c4bb49 (patch) | |
tree | 8159d22751114ec52c08ef3e3f452350dd78344e /05/constants.b | |
parent | b69bd8be29a53d8801387d09043de5bd75ca9e26 (diff) |
local variables
Diffstat (limited to '05/constants.b')
-rw-r--r-- | 05/constants.b | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/05/constants.b b/05/constants.b index 2f28cd5..79cd8e5 100644 --- a/05/constants.b +++ b/05/constants.b @@ -271,7 +271,7 @@ ; a type of 0 indicates the end of the block. ; data layout for particular statements: ; - STATEMENT_EXPRESSION - data1 is a pointer to expression data; data2,3,4 are unused -; - STATEMENT_LOCAL_DECLARATION - declaring a local variable, data1 = rbp offset, data2 = size of type (ignored if dat4 is 0), data3 = initializer expression or 0, data4 = initializer memory address to copy from (for braced initializers) or 0 +; - STATEMENT_LOCAL_DECLARATION - declaring a local variable, data1 = rbp - rsp BEFORE variable is pushed, data2 = type, data3 = initializer expression or 0, data4 = initializer memory address to copy from (for braced initializers) or 0 ; - STATEMENT_LABEL - data1 is a pointer to the name of the label; data2,3,4 are unused ; - STATEMENT_BLOCK - data1 is a pointer to an array of statements; data2,3,4 are unused ; - STATEMENT_IF - data1 is a pointer to the condition, data2 is a pointer to the `if' branch statement, data3 is a pointer to the `else' branch statement, or 0 if there is none; data4 is unused |