Subversion Repositories Kolibri OS

Rev

Rev 1363 | Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1.  
  2. Visit http://flatassembler.net/ for more information.
  3.  
  4.  
  5. version 1.70.01 (Apr 30, 2012)
  6.  
  7. [-] Corrected a recently introduced bug that caused some incorrect
  8.     address expressions to cause an error prematurely during the
  9.     parsing stage.
  10.  
  11.  
  12. version 1.70 (Apr 17, 2012)
  13.  
  14. [+] Added support for AVX, AVX2, AES, CLMUL, FMA, RDRAND, FSGSBASE, F16C,
  15.     FMA4, XOP, MOVBE, BMI, TBM, INVPCID, HLE and RTM instruction sets.
  16.  
  17. [+] Added half-precision floating point values support.
  18.  
  19. [+] Extended the syntax of "rept" directive to allow numerical expressions
  20.     to be calculated by preprocessor in its arguments.
  21.  
  22. [+] Added "large" and "NX" settings from PE format.
  23.  
  24. [+] Allowed PE fixups to be resolved anywhere in the generated executable.
  25.  
  26. [+] Allowed to specify branding value (use 3 for Linux) after the
  27.     "format ELF executable" setting.
  28.  
  29. [+] Added "intepreter", "dynamic" and "note" keywords for creation of
  30.     special segments in ELF executables.
  31.  
  32. [-] Fixed long mode opcode generator to allow absolute addresses to be
  33.     generated with "qword" keyword inside square brackets.
  34.  
  35. [-] Disallowed negative immediates with "int", "enter", "ret" instructions.
  36.  
  37. [+] Allowed symbolic information dump file to be created even in case of error.
  38.     In such case it contains only the preprocessed source that can be extracted
  39.     with PREPSRC tool. If error occured during preprocessing, only the source up
  40.     to the point of error is provided.
  41.  
  42. [+] Added symbol references table to symbolic dump file.
  43.  
  44. [-] Corrected the "defined" and "used" flags in the symbols dump to reflect the
  45.     state from the final assembly pass.
  46.  
  47. [+] Added "assert" directive.
  48.  
  49. [-] Formatter symbols like "PE" or "readable" are now recognized only in the
  50.     context of formatter directives, and thus are no longer disallowed as
  51.     labels.
  52.  
  53. [+] Macroinstruction argument now can have default value, defined with "="
  54.     symbol followed by value after the argument name in definition.
  55.  
  56. [+] Added "relativeto" operator, which can be used in logical expressions
  57.     to test whether two values differ only by a constant and not relocatable
  58.     amount.
  59.  
  60. [-] Revised the expression calculator, it now is able to correctly perform
  61.     calculations in signed and unsigned ranges in full 64-bit. This fixes
  62.     a number of issues - the overflow will now be correctly detected for
  63.     64-bit values in cases, where previous versions could not distinguish
  64.     whether it was an overflow or not. The effect of these corrections is
  65.     that "dq" directive will now behave consistently with behavior of the
  66.     data directives for smaller sizes, and the same applies to all the
  67.     places where "qword" size for value is used.
  68.  
  69.  
  70. version 1.68 (Jun 13, 2009)
  71.  
  72. [+] Added SSSE3 (Supplemental SSE3), SSE4.1, SSE4.2 and SSE4a instructions.
  73.  
  74. [+] Added the AMD SVM and Intel SMX instructions.
  75.  
  76. [+] Added "rdmsrq", "wrmsrq", "sysexitq" and "sysretq" mnemonics for the
  77.     64-bit variants of respective instructions.
  78.  
  79. [+] Added "fstenvw", "fstenvd", "fsavew", "fsaved", "frstorw" and "frstord"
  80.     mnemonics to allow choosing between 16-bit and 32-bit variants of
  81.     structures used by the "fstenv", "fsave" and "frstor" instructions.
  82.  
  83. [+] Added "plt" operator for the ELF output format.
  84.  
  85. [+] Allowed "rva" operator to be used in MS COFF object format, and also
  86.     added "static" keyword for the "public" directive.
  87.  
  88. [+] Added Intel-style aliases for the additional long mode 8-bit registers.
  89.  
  90. [-] The PE formatter now automatically detects whether relocatable labels
  91.     should be used, depending on whether the fixups directory is placed
  92.     somewhere into executable by programer, or not. This makes possible the
  93.     more flexible use of the addressing symbols in case of PE executable fixed
  94.     at some position.
  95.  
  96. [-] Added support for outputting the 32-bit address relocations in case of
  97.     64-bit object formats and PE executable. This makes some specific
  98.     instructions compilable, but it also forces linker to put such
  99.     generated code into the low 2 gigabytes of addressing space.
  100.  
  101. [+] Added "EFI", "EFIboot" and "EFIruntime" subsystem keywords for PE format.
  102.  
  103. [-] Corrected the precedence of operators of macroinstruction line maker.
  104.     The symbol escaping now has always the higher priority than symbol conversion,
  105.     and both have higher precedence than concatenation.
  106.  
  107. [+] Allowed to check "@b" and "@f" symbols with "defined" operator.
  108.  
  109. [+] Allowed "as" operator to specify the output file extension when
  110.     placed at the end of the "format" directive line.
  111.  
  112. [-] Definition of macro with the same name as one of the preprocessor's directives
  113.     is no longer allowed.
  114.  
  115. [+] Allowed single quote character to be put inside the number value,
  116.     to help improve long numbers readability.
  117.  
  118. [+] Added optional symbolic information output, and a set of tools that extract
  119.     various kinds of information from it.
  120.  
  121. [+] Added "err" directive that allows to signalize error from the source.
  122.  
  123.  
  124. version 1.66 (May 7, 2006)
  125.  
  126. [+] Added "define" directive to preprocessor, which defines symbolic constants,
  127.     the same kind as "equ" directive, however there's an important difference
  128.     that "define" doesn't process symbolic constants in the value before
  129.     assigning it. For example:
  130.  
  131.         a equ 1
  132.         a equ a+a
  133.  
  134.         define b 1
  135.         define b b+b
  136.  
  137.     defines the "a" constant with value "1+1", but the "b" is defined with
  138.     value "b+b". This directive may be useful in some advanced
  139.     macroinstructions.
  140.  
  141. [-] Moved part of the conditional expression processing into parser,
  142.     for slightly better performance and lesser memory usage by assembler.
  143.     The logical values defined with "eq", "eqtype" and "in" operators are now
  144.     evaluated by the parser and if they are enough to determine the condition,
  145.     the whole block is processed accordingly. Thus this block:
  146.  
  147.         if eax eq EAX | 0/0
  148.                 nop
  149.         end if
  150.  
  151.     is parsed into just "nop" instruction, since parser is able to determine
  152.     that the condition is true, even though one of the logical values makes no
  153.     sense - but since this is none of the "eq", "eqtype" and "in" expressions,
  154.     the parser doesn't investigate.
  155.  
  156. [-] Also the assembler is now calculating only as many logical values as it
  157.     needs to determine the condition. So this block:
  158.  
  159.         if defined alpha & alpha
  160.  
  161.         end if
  162.  
  163.     will not cause error when "alpha" is not defined, as it would with previous
  164.     versions. This is because after checking that "defined alpha" is false
  165.     condition it doesn't need to know the second logical value to determine the
  166.     value of conjunction.
  167.  
  168. [+] Added "short" keyword for specifying jump type, the "jmp byte" form is now
  169.     obsolete and no longer correct - use "jmp short" instead.
  170.  
  171. [-] The size operator applied to jump no longer applies to the size of relative
  172.     displacement - now it applies to the size of target address.
  173.  
  174. [-] The "ret" instruction with 0 parameter is now assembled into short form,
  175.     unless you force using the 16-bit immediate with "word" operator.
  176.  
  177. [+] Added missing extended registers for the 32-bit addressing in long mode.
  178.  
  179. [+] Added "linkremove" and "linkinfo" section flags for MS COFF output.
  180.  
  181. [+] Added support for GOT offsets in ELF object formatter, which can be useful
  182.     when making position-independent code for shared libraries. For any label
  183.     you can get its offset relative to GOT by preceding it with "rva" operator
  184.     (the same keyword as for PE format is used, to avoid adding a new one,
  185.     while this one has very similar meaning).
  186.  
  187. [-] Changed ELF executable to use "segment" directive in place of "section",
  188.     to make the distinction between the run-time segments and linkable
  189.     sections. If you had a "section" directive in your ELF executables and they
  190.     no longer assemble, replace it with "segment".
  191.  
  192. [-] The PE formatter now always creates the fixups directory when told to -
  193.     even when there are no fixups to be put there (in such case it creates the
  194.     directory with one empty block).
  195.  
  196. [-] Some of the internal structures have been extended to provide the
  197.     possibility of making extensive symbol dumps.
  198.  
  199. [-] Corrected "fix" directive to keep the value intact before assigning it to the
  200.     prioritized constant.
  201.  
  202. [+] The ` operator now works with any kind of symbol; when used with quoted
  203.     string it simply does nothing. Thus the sequence of ` operators applied to
  204.     one symbol work the same as if there was just one. In similar manner, the
  205.     sequence of # operators now works as if it was a single one - using such a
  206.     sequence instead of escaping, which was kept for some backward
  207.     compatibility, is now deprecated.
  208.  
  209. [-] Corrected order of identifying assembler directives ("if db eq db" was
  210.     incorrectly interpreted as data definition).
  211.  
  212. [-] Many other small bugs fixed.
  213.  
  214.  
  215. version 1.64 (Aug 8, 2005)
  216.  
  217. [+] Output of PE executables for Win64 architecture (with "format PE64"
  218.     setting).
  219.  
  220. [+] Added "while" and "break" directives.
  221.  
  222. [+] Added "irp" and "irps" directives.
  223.  
  224. [+] The macro arguments can be marked as required with the "*" character.
  225.  
  226. [-] Fixed checking for overflow when multiplying 64-bit values - the result
  227.     must always fit in the range of signed 64 integer now.
  228.  
  229. [-] Segment prefixes were generated incorrectly in 16-bit mode when BP was used
  230.     as a second addressing register - fixed.
  231.  
  232. [-] The "local" directive was not creating unique labels in some cases - fixed.
  233.  
  234. [-] The "not encodable with long immediate" error in 64-bit mode was sometimes
  235.     wrongly signaled - fixed.
  236.  
  237. [-] Other minor fixes and corrections.
  238.  
  239.  
  240. version 1.62 (Jun 14, 2005)
  241.  
  242. [+] Escaping of symbols inside macroinstructions with backslash.
  243.  
  244. [+] Ability of outputting the COFF object files for Win64 architecture
  245.     (with "format MS64 COFF" setting).
  246.  
  247. [+] New preprocessor directives: "restruc", "rept" and "match"
  248.  
  249. [+] VMX instructions support (not documented).
  250.  
  251. [+] Extended data directives to allow use of the "dup" operator.
  252.  
  253. [+] Extended "struc" features to allow custom definitions of main structure's
  254.     label.
  255.  
  256. [-] When building resources from the the .RES file that contained more
  257.     than one resource of the same string name, the separate resource
  258.     directories were created with the same names - fixed.
  259.  
  260. [-] Several bugs in the ELF64 object output has been fixed.
  261.  
  262. [-] Corrected behavior of "fix" directive to more straightforward.
  263.  
  264. [-] Fixed bug in "include" directive, which caused files included from within
  265.     macros to be processed the wrong way.
  266.