Skip to content

Change the limits of OP_ADDI and OP_SUBI from 0-127 to 0-255.#6428

Merged
matz merged 1 commit into
mruby:masterfrom
hoshiumiarata:change_limits_of_addi_and_subi
Nov 19, 2024
Merged

Change the limits of OP_ADDI and OP_SUBI from 0-127 to 0-255.#6428
matz merged 1 commit into
mruby:masterfrom
hoshiumiarata:change_limits_of_addi_and_subi

Conversation

@hoshiumiarata

Copy link
Copy Markdown
Contributor

It looks like OP_ADDI and OP_SUBI use unsigned 8-bit values, so they can handle values in the range of 0-255.
If I am wrong, it's okay to ignore/decline this pull request.

@hoshiumiarata
hoshiumiarata requested a review from matz as a code owner November 19, 2024 15:01
@matz
matz merged commit 4953dcd into mruby:master Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants