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

Issue Building Solution #218

Open
theoemms opened this issue May 26, 2013 · 0 comments
Open

Issue Building Solution #218

theoemms opened this issue May 26, 2013 · 0 comments

Comments

@theoemms
Copy link

I encountered a bug where, upon attempting to run a .10c file, the build output hangs on "Building Solution...", the "0x10c DevKit has encountered a problem" window pops up, which when closed causes the program to crash. I'm running on a MacBook, with Windows7 bootcamp.
I really love using your DevKit, I've not done a lot of assembly before and I've learnt so much using your software.

This is the code that causes the issue:

:writeNullTerminated
SET PUSH, X
SET PUSH, A
    SET A, [displayRAM]
    ADD A, [cursor_position]
    :writeNullTerminated_loop
        SET [A], [X]
        BOR [A}, [display_colours]
        ADD A, 1
        ADD X, 1
        IFE [X], 0
            SET PC, writeNullTerminated_end
    SET PC, writeNullTerminated_loop
:writeNullTerminated_end
    SUB A, [displayRAM]
    SET [cursor_position], A
SET A, POP
SET X, POP
SET PC, POP

The error is caused by the curly bracket being used in place of the square bracket here:

BOR [A}, [display_colours]

But, no useful error output is given, the whole IDE crashes.

Many Thanks,

Theo

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