mirror of
https://github.com/NishiOwO/JWasm.git
synced 2025-04-21 08:44:38 +00:00
Merge pull request #200 from qwordAtGitHub/issue152and156
Fix for issue 152 and 156
This commit is contained in:
commit
644f39971f
1
equate.c
1
equate.c
@ -317,6 +317,7 @@ struct asym *CreateVariable( const char *name, int value )
|
||||
//sym->mem_type = MT_ABS;
|
||||
sym->variable = TRUE;
|
||||
sym->value = value;
|
||||
sym->value3264 = 0;
|
||||
sym->isequate = TRUE;
|
||||
return( sym );
|
||||
}
|
||||
|
@ -1488,7 +1488,7 @@ static ret_code highword_op( int oper, struct expr *opnd1, struct expr *opnd2, s
|
||||
//opnd1->mem_type = MT_WORD; /* v2.05 */
|
||||
opnd1->mem_type = MT_EMPTY;
|
||||
}
|
||||
opnd1->value = opnd1->value >> 16;
|
||||
opnd1->llvalue = (opnd1->value >> 16) & 0xffff;
|
||||
return( NOT_ERROR );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user