Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix *aload formatting operand order. #7

Merged
merged 1 commit into from Nov 6, 2011

Conversation

stephank
Copy link
Contributor

@stephank stephank commented Nov 6, 2011

In packet 52, for example:

{
    "operation": "loop",
    "condition": "var2 < f",
    "instructions": [
        {
            "operation": "write",
            "field": "var2[c]",
            "type": "short"
        }, 
        {
            "operation": "increment",
            "field": "var2",
            "amount": "1"
        }
    ]
}

Clearly, var2 is the loop's iterator, but formatting of certain *aload instructions was flipping operands and making it look like it was indexing the wrong thing.

See, for example, packet 52.
TkTech added a commit that referenced this pull request Nov 6, 2011
Fix *aload formatting operand order.
@TkTech TkTech merged commit 02de1f8 into TkTech:master Nov 6, 2011
Pokechu22 referenced this pull request in Pokechu22/Burger Feb 12, 2016
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.

None yet

2 participants