Skip to content

updated return statement#2

Merged
andreitoma8 merged 3 commits into
andreitoma8:masterfrom
Akkii4:master-1
Aug 21, 2023
Merged

updated return statement#2
andreitoma8 merged 3 commits into
andreitoma8:masterfrom
Akkii4:master-1

Conversation

@Akkii4
Copy link
Copy Markdown
Contributor

@Akkii4 Akkii4 commented Aug 18, 2023

Fixed the statement about assembly return second parameter (size)

Comment thread README.md Outdated
return(0x80, 0xc0)
// return the data from slot 0x80 and 0x40 is size of the return data
return(0x80, 0x40)
// return(0x80, 0xc0) // returns data of size 0xc0 (which is bigger than expected)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can delete this line altogether.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, please review

Copy link
Copy Markdown
Owner

@andreitoma8 andreitoma8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks for the contribution!

@Akkii4 Akkii4 requested a review from andreitoma8 August 18, 2023 15:09
@andreitoma8 andreitoma8 merged commit 38aa014 into andreitoma8:master Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants