3 ms·
By the way, I think the example has a mistake. It uses copy-to-ebx, but the following paragraph in subx.md refers to copy-to-eax. (Edit: learned a bit more) S
by waterhouse 6y ago
By the way, I think the example has a mistake. It uses copy-to-ebx, but the following paragraph in subx.md refers to copy-to-eax. (Edit: learned a bit more) Since you're doing a syscall, it seems it may actually be correct for the "return value" (really the argument to the syscall) to be in ebx, so in that case you'd just want to change the text to agree.
- akkartik 6y agoThank you! https://news.ycombinator.com/item?id=26525349#26529192 https://news.ycombinator.com/item?id=26525349#26529192 Did I miss anything?