____________________ What's new in version 0.6.0 Bug fixes: o NOP is now legal with a single operand o cycle and process meters are refreshed when switching from text to graphics display in pmarsv.exe o some pshell input fields were extended New features, Simulator/Assembler: o added three experimental adressing modes: * indirect using A-field { predecrement indirect using A-field } postincrement indirect using A-field These modes complement the @, < and > modes which use the B-field as the indirection pointer. Assembler: FOR/ROF and EQU substitution pass have been merged. This not only means faster assembly, but also a richer FOR argument syntax: the FOR argument can now be any expression containing arithmetic, comparison and logical operators, predefined variables, line labels and EQU expressions (as long as their definitions occur before the ROF). A welcome side effect of this merger is that you no longer have to include a ;macro line in your code to get FOR/ROF to work. If the FOR argument evaluates to 0, the FOR block is not expanded. This allows for "conditional" assembly, e.g.: FOR CORESIZE == 8000 ;evaluates to 1 if true some code ROF FOR CORESIZE != 8000 other code ROF The new predefined variable CURLINE holds the current line number of the generated assembly. Its main use is to write FOR/ROF blocks that adapt to the code length: FOR MAXLENGTH-CURLINE ;fill the rest of the available space with decoy dat 1,1 ROF As announced previously on the net, pMARS now supports the ;assert directive which makes sure that your warrior runs under compatible settings for coresize, max. processes etc.. If the expression following ;assert evaluates to 0, i.e. the "assertion fails", assembly aborts with an error message. To encourage wide-spread use of ;assert, pMARS complains if ;assert is missing. Some examples: ;assert CORESIZE == 8000 && MAXPROCESSES >= 1000 ;assert (CORESIZE % 4) == 0 ; is multiple of 4 std EQU CORESIZE==8000 && MAXPROCESSES==8000 && MAXCYCLES==80000 .... ;assert std && VERSION >= 060 To make updating all your warriors a little easier, we have included UNIX scripts and DOS batch files that insert "generic" ;assert's (see assert.doc). The extended expression syntax including assignment and use of single char register variables a..z (you may know them from cdb macros) is valid in instruction operand fields as well, but probably not very useful except in cdb macros. Example: @calc x=-100~!!~@edit 3~djn -3,