Skip to content

xas99 pragma for starting data definition directives on even addresses #39

@MirrorPusher

Description

@MirrorPusher

Would be cool to have a pragma that allows one to start data definition directives on even addresses.
That would be especially useful if you for example have a sequence of multiple stri, text or byte directives.
Would save one from having a bunch of even directives littering the source code.

Example:

        stri ' '
        even
        byte    35
        byte    1,1,1,1,1,1,1,1,1,1,1,1,1
        text    ' Cursor '
        byte    1,1,1,1,1,1,1,1,1,1,1,1,1,1
        even                          
        stri 'Fctn s        Left'             : Some pragma for even addresses instead of 'even' on every 2nd line
        even
        stri 'Fctn d        Right'
        even
        stri 'Fctn e        Up'
        even
        stri 'Fctn x        Down'
        even
        stri 'Fctn h        Home'
        even
        stri 'Fctn l        End'
        even
        stri 'Fctn j        Prev word'
        ...

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