flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
shism2 18 May 2006, 23:13
fnstenv byte [ss:ESP - 0Ch]
Code: fnstenv byte [ss:ESP - 0Ch] error: invalid size of operand. |
|||
![]() |
|
revolution 19 May 2006, 01:56
Don't specify the size.
Code: fnstenv [esp-12] |
|||
![]() |
|
Tomasz Grysztar 19 May 2006, 11:39
The instructions from this family (like FXSAVE, etc.) all require memory blocks of various sizes that fasm doesn't have appropriate size specifiers for. Thus it requires them to be memory labels without size attributes at all.
To differ the FNSTENV forms we would need some size prefixes for 14 and 28 bytes, according to fasm's general rules. Or... The only other considerable solution I came with so far is to allow NASM-like prefixes O16 and O32 (and perhaps O64, too), so that you would write "O16 FNSTENV [...]" etc. |
|||
![]() |
|
shism2 20 May 2006, 03:33
ok
![]() |
|||
![]() |
|
Madis731 29 May 2006, 09:17
But the O-notation is horrible and somewhat confusing - don't you think?
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.