Skip to content

structure.long <<= and >>= not implemented #194

@tallLeRoy

Description

@tallLeRoy
; longtest.p8

%option no_sysinit ; leave the CX16 defaults in place
%zeropage basicsafe ; don't step on BASIC zero page locations

%import textio

main {
    const ubyte typeDefault = 0
    const word longx = $4FFF
    const long longy = $06000000

    struct element {
        ubyte type
        long  x
        long  y
    }

    ^^element myElement = [typeDefault, longx, longy + $1000]

    sub start() {
        word @shared wordNum = 4093

        myElement.y >>= 4

        txt.print("\nmade it\n")
    }
}

results in
internal error: missing feature/code
Exception in thread "main" kotlin.NotImplementedError: An operation is not implemented: inplace long >> [longtest.p8: line 24 col 10-18]

Metadata

Metadata

Assignees

No one assigned

    Labels

    6502bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions