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().
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().