Skip to content

Issue Building Solution #218

Open
Open
@theoemms

Description

@theoemms

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions