Open dr-orlovsky opened 3 years ago
I think this issue (and the whole macro assembly compiler) is outdated because we have a proper standalone compiler for now: https://github.com/pandoracore/aluasm
However your questions and valid and deserve a dedicated issues. I can't answer on them right afay and need to look deeply by myself.
@dr-orlovsky I need some clarification on
Splt
.Firstly, Docstring says that sometimes "zero-length string" should be put. ByteStr, however, has a 0-based length. This means ByteStr with 0 length has one character. Maybe we can define "zero-length string" as
len = 0
&&all bytes are set to 0
?Secondly, I am not sure if this docstring is correct. It occured to me that the sentence should be other way around; if offset value is greater than string length, we cannot split the string and the operation would always fail (thus needs to be handled based on the flag).