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

bug in all conditional branches #4

Closed
esaulenka opened this issue Dec 12, 2022 · 3 comments
Closed

bug in all conditional branches #4

esaulenka opened this issue Dec 12, 2022 · 3 comments

Comments

@esaulenka
Copy link

I am not familiar with FR60's, I just started playing with it.

But I found that @mumbel (hi!) made a mistake in his commit.

All code in CC: table should be rewritten from
CC: "RA" is cc=0x0 { local tmp:1 = 1; export *[const]:1 tmp; }
to
CC: "RA" is cc=0x0 { local tmp:1 = 1; export tmp; }

Current implementation tries to read memory at address 0 or 1, this is completely wrong.

@mumbel
Copy link
Contributor

mumbel commented Dec 13, 2022

@esaulenka thanks... i knew it looked off in the deocmpiler, but that didn't click it was off. added to #3

merged

@esaulenka
Copy link
Author

@DiscoStarslayer please close this issue, now it works as expected

@DiscoStarslayer
Copy link
Contributor

Fixed in #3. Thank you @mumbel @esaulenka

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

No branches or pull requests

3 participants