flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > bug report: push reg + const |
Author |
|
LocoDelAssembly 23 Aug 2007, 16:38
I'm almost sure it was discussed already. It is not a bug but a feature. The problem is that "+4" and "+ 4" are the same and that is OK but sometimes is confusing as you said. Things like "push eax + edx" are not allowed since the unary operator can't be applied to registers.
|
|||
23 Aug 2007, 16:38 |
|
nocona 25 Aug 2007, 04:04
fasm's push instruction allows repetition of operand seperated with space(s). So [i]push eax + 4[/b] is actually
Code: push eax push +4 |
|||
25 Aug 2007, 04:04 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.