News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

errors in doc

Started by dannycoh, February 26, 2025, 10:58:23 PM

Previous topic - Next topic

dannycoh

I am reading the uasm257_ext.pdf
In section 2.3) Shadow Space Optimisations
There is this sentence: This is called the parameter homing space or shadow space and is used to store parameter
values if either the function accesses the parameters by address instead of by value or if the 

The sentence ends abruptly.

Please fix the docs.


lucho

The entire sentence is elsewhere in this forum:

QuoteHOMING SPACE
Although the first four parameters are passed via registers, there is still space allocated on the stack for these four parameters. This is called the parameter homing space and is used to store parameter values if either the function accesses the parameters by address instead of by value or if the function is compiled with the homeparams flag. The minimum size of this homing space is 0x20 bytes or four 64-bit slots, even if the function takes less than 4 parameters. When the homing space is not used to store parameter values, the JWasm uses it to save non-volatile registers.