Skip to content

TODO: Compile INT variables as WORD instead of DS 2 #12

Description

@RevCurtisP

Currently the vardef() routine in vars.c does not check the variable type, so it treats int variables as blob of size 2, resulting in the assembler code VARNAME: DS2

Add def WORDOP "WORD" to common.h, and a check for varble.type = VTINT to the if/else chain in vardef().

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