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

test/asm/divzero-instr.asm fails #49

Closed
bentley opened this issue Jan 27, 2015 · 0 comments
Closed

test/asm/divzero-instr.asm fails #49

bentley opened this issue Jan 27, 2015 · 0 comments

Comments

@bentley
Copy link
Contributor

bentley commented Jan 27, 2015

The newly added test/asm/divzero-instr.asm crashes.

Starting program: /home/anthony/bin/rgbasm bar.asm

Program received signal SIGFPE, Arithmetic exception.
0x00000bbb2660cd0c in rpn_DIV (expr=0xbbb26a19280, src1=Variable "src1" is not available.
) at src/asm/rpn.c:319
319             expr->nVal = (expr->nVal / src2->nVal);
(gdb) bt
#0  0x00000bbb2660cd0c in rpn_DIV (expr=0xbbb26a19280, src1=Variable "src1" is not available.
)
    at src/asm/rpn.c:319
#1  0x00000bbb26606d16 in yyparse () at asmy.y:931
#2  0x00000bbb2660aa84 in main (argc=Variable "argc" is not available.
) at src/asm/main.c:334
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

1 participant