flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Opcode fsub |
Author |
|
dmitriy566 03 Jul 2012, 12:09
Hello!
When i insert only one command fsub in work code, fasm says:"invalid operand". With fsubp it works ok. I think that it is a bug. |
|||
03 Jul 2012, 12:09 |
|
dmitriy566 03 Jul 2012, 15:09
Ok, if i write fsub st,st(1) , fasm says "extra characters on line". And as i know, fsub without operands equivalent fsub st,st(1).
|
|||
03 Jul 2012, 15:09 |
|
dmitriy566 03 Jul 2012, 16:16
And as i see, analogical behaviour have opcodes fadd,fmul,fdiv and reverse operations(fsubr and others).
|
|||
03 Jul 2012, 16:16 |
|
CandyMan 03 Jul 2012, 16:19
use
Code: FSUB ST,ST1 instead of: FSUB ST,ST(1) _________________ smaller is better |
|||
03 Jul 2012, 16:19 |
|
revolution 04 Jul 2012, 07:48
dmitriy566 wrote: And as i know, fsub without operands equivalent fsub st,st(1). |
|||
04 Jul 2012, 07:48 |
|
dmitriy566 06 Jul 2012, 12:19
Thank you very much!
|
|||
06 Jul 2012, 12:19 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.