flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 28 Mar 2014, 11:35
Not sure what you are trying to do actually, but this appears to be what you are asking for:
Code: macro . dest,val {mov [dest],val } |
|||
![]() |
|
tthsqe 28 Mar 2014, 11:37
roman, after reading the fasm pdf, I think the eqtype operator will be good for you. something like
Code: if chVal eqtype byte 0 ; use al/ah elseif chVal eqtype word 0 ; use ax elseif chVal eqtype dword 0 ; use eax ... Hopefully a more experienced fasmer can comment on this operator. EDIT: i thiks revolution's answer doesn't work for qwords |
|||
![]() |
|
Roman 28 Mar 2014, 12:07
Thanks tthsqe
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.