flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > hiword macro, problem |
Author |
|
vid 12 Jan 2005, 00:08
maybe:
Code: macro casehiw var,[cons,label] { common local ..behind,..taken push var xor var,0FFFFh shr var,16 forward cmp var,cons je ..taken common jmp ..behind ..taken: pop var jmp label ..behind pop var } |
|||
12 Jan 2005, 00:08 |
|
JohnFound 12 Jan 2005, 06:30
In all cases
Code: xor var,0FFFFh |
|||
12 Jan 2005, 06:30 |
|
snifit 12 Jan 2005, 08:20
True, since shr shifts in zeros, well thanks guys
|
|||
12 Jan 2005, 08:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.