flat assembler
Message board for the users of flat assembler.
  
|  Index
      > Compiler Internals > i386, i486, ... control | 
| Author | 
 | 
| idle 19 Jan 2011, 10:22 Does fasm recognize i386, i486 ... putting those in a stream?
 Do the tables have reserved bytes for this? Can such a modification be done easily? | |||
|  19 Jan 2011, 10:22 | 
 | 
| revolution 19 Jan 2011, 10:30 See here. I think that is what you are asking for. | |||
|  19 Jan 2011, 10:30 | 
 | 
| idle 19 Jan 2011, 16:53 revolution, thanks
 that is partial decision still i486 has a built-in fpu but .486 macro does not allow such, why? | |||
|  19 Jan 2011, 16:53 | 
 | 
| revolution 19 Jan 2011, 16:56 Not all 486's have the FPU.
 Anyhow, just enable the FPU stuff with .486f instead, no problem. | |||
|  19 Jan 2011, 16:56 | 
 | 
| idle 19 Jan 2011, 17:32 .486f, but i do not expect conditional moves of floats to be available, fcomi... too | |||
|  19 Jan 2011, 17:32 | 
 | 
| revolution 19 Jan 2011, 17:58 idle wrote: .486f, but i do not expect conditional moves of floats to be available, fcomi... too | |||
|  19 Jan 2011, 17:58 | 
 | 
| revolution 19 Jan 2011, 18:14 Code: macro invalidate_fpu_p6 { invalidate_sse invalidate fcmovb,fcmove,fcmovbe,fcmovu,fcmovnb,fcmovne,fcmovnbe,fcmovnu,\ fcomi,fcomip,fucomi,fucomip } | |||
|  19 Jan 2011, 18:14 | 
 | 
| idle 19 Jan 2011, 18:22 i do not understand what invalidate macro does but it works, thanks
 i seems i'm too look through masm-internals with OllyDbg  | |||
|  19 Jan 2011, 18:22 | 
 | 
| revolution 19 Jan 2011, 18:27 The invalidate macro just makes an impossible directive "rb -1". It is a deferrable error; that means that only when all ifs and other conditional expressions are fully resolved will the error be signalled. | |||
|  19 Jan 2011, 18:27 | 
 | 
| idle 19 Jan 2011, 18:33 oh, that's not optimal
 if fasm's execution that would be very fast every instruction handler could check some variable: Code: test [machine],var_machine jb .error_etc | |||
|  19 Jan 2011, 18:33 | 
 | 
| idle 19 Jan 2011, 18:36 i put wrong code
 smth working you understand, i know  | |||
|  19 Jan 2011, 18:36 | 
 | 
| revolution 19 Jan 2011, 18:40 idle wrote: oh, that's not optimal BTW: I did do that for fasmarm, but I have no control over the x86 version of fasm. | |||
|  19 Jan 2011, 18:40 | 
 | 
| idle 19 Jan 2011, 21:33 set www of your profile to fasm-arm - people (from wasm.ru) do not often know who you are | |||
|  19 Jan 2011, 21:33 | 
 | 
| idle 20 Jan 2011, 00:16 | |||
|  20 Jan 2011, 00:16 | 
 | 
| idle 22 Jan 2011, 09:57 A one-line description of x87 instructions by unknown
 Find 'These can be loaded using the FLD0, FLD1,'. Tomasz, add fldz's alias please. x87 was published in 1986, as i know, but i'm not sure whether that FLD0 is so popular since(that's history for me as i was absent). | |||
|  22 Jan 2011, 09:57 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.