I usesizeinstead ofwordsis for more clear meaning.(the org Kernel.Erase use words(4bytes))

> -- Цитата:
> The obvious difference is the val parameter size, 4 bytes vs. 1 byte.Since both procedures work correctly, it seems that compiler uses 4 bytes as a placeholder for parameters of smaller size.
yes, the compile push shortchar use four bytes,
but our fill procedure useREP STOSB, that only one byet(AL(shortchar)) is used, discard the other three bytes. intel doc have this detail.

be glad you continue agg work.