31.01.2015: Ziron Assembler 2.0.0.19

	# Added sample "Adler32" by 0CodErr.
	# Assigning a string to an initialized array with divide the characters per item.
	# Added directive #set imm_roll <true/false>;
	# By default, imm values will no longer roll over. e.g. 1-10, 12 = 2 etc.
	# Added possibility of including variable address in base expressions. e.g. eax = [eax + @myvar];
	# Fixed <reg> as <type> for continuous typecasting.
	# Error is shown for base expressions not using base/index registers.
	# Mov operands with lower size operand 2 variable will try movzx instruction. 
	# Fixed movzx <reg>, <var>.
	# Fixed several errors for alu instruction size mismatches.
	# Fixed rot based instructions accepting cl as second operand.
	# Fixed macro "tokentext".
	# Fixed sizeof on arrays showing incorrectly.
	# eMacros that have zero or infinite params no longer require ().
	# Added "$_e('...');" - express text as a token.
	# Added "$_uniquelabel;" - return a unique text label.
	# Added "$handlemacro(...);" - move to next tokens and process a macro declaration.
	# Fixed high level comparison not correcting typecasting for signed/unsigned jump opcodes. (Thanks 0CodErr for report)
	# Added $mpop, $gmpush and $gmpop.
	# Possibility to assign macros directly to a macro variable (which is generated only once).
	# Fixed macro variables not being freed.
	# Renamed internal try except to __try __except. (replaced original with emacro)
	# Added sample "Spiral Matrix" by 0CodErr.
	# Fixed issue with local variables not reserving stack space. (related to "unnecessary stack balancing" fix)
	# Added $moveNextText macro function.
	# It is now possible for macro $if to compare 2 strings.
	# Added $peekNextText macro function.

27.01.2015: Ziron Assembler 2.0.0.18

	# For performance reasons, instruction leave is used when cpu mode is below 686.
	# Added directive cpu. (default mode is 686)
	# Removed unnecessary stack balancing in methods with stack frame. (Thanks 0CodErr for report)
	# Implemented case statements.
	# Implemented try { } except (eax, edx) {} - compatibility with windows x32. (experimental)
	# Fixed assigning label to register.
	# Fixed a bug with opcode xchg. (Thanks 0CodErr for report)
	# Fixed global variable scale value offset.
	# Fix to memory operand with single register and scale.
	# Fixed undefined operand sizes not using the left operand size for memory assignments.
	# Enums now define the name as the type.
	# It is now possible to set the default increment of an enum by passing a parameter to the type.
		e.g. enum NAME: DWord (2) { ...
	# Fixed a bug with mpush causing macros to change parameter requirements.
	# Added intrinsic #align; - align current code to 2,4,8 boundary (dependant on architecture)
	# Added directive "optimise". e.g. #set optimise off;
	# Updated to allow spacing in syntax <type> [<reg>].
	# Fixed [<expr>] = [<expr>] (Thanks 0CodErr for report)

23.01.2015: Ziron Assembler 2.0.0.17
	
	# Added compiler flag m2m_reg. e.g. #set m2m_reg true; (this will prevent preserving eax for mov m/m)
	# Assigning byte and word variables will use eax.
	# Improved macro parameter and variable subsystem.
	# Added intrinsic macro $mcall (call macro by name using current macro stack)
	# Added intrinsic macro $mpush (push values onto the current macro stack)
	# Fixed a bug with cdecl methods calling ret with parameter.
	# Implemented opcodes - enter, bswap, cmpxchg
	# Fixed plugins unable to access/express macro variables.
	# Fixed a bug with plugin interface function ziron_expect_token.
	# Implemented opcodes - pushf, pushfd, popf, popfd, rdtsc, rdmsr, rdpmc, rsm, xadd.
	# Fixed an issue with inline methods not outputting auto leave/ret. (Thanks 0CodErr for report)
	# Added intrinsic method $eval.
	# Fixed addresses corrupting due to const offset when no consts were assigned. (Thanks 0CodErr for report)
	# Added syntax <reg> = !<reg> and <reg> = ~<reg>.
	# Remove syntax <reg> != <reg and <reg> ~= <reg>.
	# Fixed 32 bit mode 16 bit register alu instructions. (Thanks 0CodErr for report)
	# Truncation warning occurs for binary input.
	# An error will occur when an invalid binary input has been written.
	# Added neg operator syntax -<reg>
	# Added 1 new sample by 0CodErr

20.01.2015: Ziron Assembler 2.0.0.16

	# Added bitwise operator "not" - ~<reg>
	# 2 Sample codes added by 0CodErr
	# Binary numbers are now supported. e.g. edi = 0b00000000000000000000001000000000;
	# Register not, or, xor, and assignments supported. e.g. eax != ecx; eax &= ecx; eax ^= ecx; eax |= edx;
	# Fixed inc/dec of global variables.
	# Fixed memory operands size sometimes producing wrong machine code. (Thanks 0CodErr for report)
	# Fixed inc and dec not working with variables. (Thanks 0CodErr for report)
	# Fixed missing fatal error for memory addressing.
	# Fixed a problem with stack alignment in 16 bit mode.
	# Fixed problem with consts being duplicated.

16.01.2015: Ziron Assembler 2.0.0.15

	# Linker plugin now supports 2 reserved constants _FILE_PATH_ and _PARAM_STR_ in KOLIBRI32 and MENUET01.
	# Fixed typecasting @vars
	# Fixed calling "call" on a method declaration.
	# Possible to declare and call cdecl methods with variable arguments.
	# Added program file type override "-program", e.g. Ziron.exe "src.zir" -program PE32_CUI
	# Added intrinsic $depreciated <text>;
	# Added intrinsic macro $strcat.
	# Intrinsic casttype will accept numbers.
	# Fixed assignment of variables with offsets. (Thanks 0CodErr for report)
	# Constants and Enums now have their own size.
	# Added opcodes cmpsb, cmpsw, cmpsd (Thanks 0CodErr for report)

14.01.2015: Ziron Assembler 2.0.0.14

	# Macro variables and consts will now accept special math operators | % ^ & << >>
	# True now equals any value except 0.
	# Added possibility to reference variable offset using registers.
	# Fixed method byte and words using unaligned addressing. (Thanks 0CodErr for report)
	# Fixed linker plugin export sorting (again)
	# Fixed menuet01 typo in linker plugin (Thanks 0CodErr for report)
	# Fixed macro variables using parent emacro vars.

09.01.2015: Ziron Assembler 2.0.0.13

	# Added new setting stack_size.
	# Added alu instructions inst <reg>, <globalvar>
	# Linker plugin now supports MENUET01 and KOLIBRI32 options. (experimental)
	# Fixed multiple local variables under 1 type using same address (Thanks 0CodErr for report)
	# Linker plugin now has 2 raw formats, RAW_IMAGE and INTEL_FLOPPY
	# Emit plugin can now accept forward reference labels.
	# Passing -1 to ziron_func_get will return current function.
	# Added plugin interface functions:
		ziron_token_ident, ziron_conv_labelref, ziron_func_index
	# Emit plugin can now output ansi strings.

07.01.2015: Ziron Assembler 2.0.0.12

	# Fixed parser detecting /* as comment inside of string.
	# DLL now begin at address $10000000
	# Fixed relocation tables in linker.dll
	# Relocations are not written to an additional section for images.
	# Fixed exported functions not being correctly sorted.

04.01.2015: Ziron Assembler 2.0.0.11
	
	# Fixed point to data type as variable type.
	# Added directive #ifndef
	# Fixed a bug with macro vars not being detected correctly.

02.01.2015: Ziron Assembler 2.0.0.10

	# Added default parameters for method declaration.
	# Added plugin functions: ziron_token_peek, ziron_eol, ziron_extractline
	# Fixed cdecl functions add esp even when no params were sent.
	# Include directive will not also check the folder relative to the current file (with priority)
	# Plugin onExit was not being called.
	# Fixed plugin onFileEntry event causing access violation when none existant.
	# Added plugin event "function stdcall onFileEntry(DWord handle; char* code; DWord len): boolean;"
	# Fixed a bug with plugin system. (incorrect param count)
	# Fixed a bug with typecasting.
	# Small correction to intrinsic ord when used with registers.
	# Fixed intrinsic sizeof for registers.
	# Added support for call <reg>
	# Fixed a bug when calling an unsupported instruction, sometimes causing access violation.
	# Added plugin interface methods:
		ziron_register_keyword, ziron_unregister_keyword, ziron_expect_token,
		ziron_expect_ident, ziron_curtoken_size, ziron_token_next, ziron_curtoken_int32,
		ziron_curtoken_int64, ziron_curtoken_charptr, ziron_curtoken_wcharptr, ziron_curtoken_real
	# Added keyword events to plugin system.
	# Fixed bug with internal assembler failing incorrectly.
	# New directive #set defaultcc <convention>
	# Implemented very basic asm output param. -asmdebug
	# Possible fix to assembler params not being detected.
	# Optimisation to function calls for MSX64 calling convention.
	# Auto sub/add on HL function calls for 64-bit stack requirement.
	# Now possible to direct call MSX64 functions in HL
	# Added calling convention MSX64 - default windows x64 ABI
	# Experimental 64-bit instruction support.
	# Updated linker.dll to support PE32P (64-bit executables) - PE32P_CUI, PE32P_GUI
	# Fixed exporting cdecl functions symbol name.
	# Added cdecl calling convention support.
	# Fixed linker plugin not exporting functions (Thanks Emil_halim for report)

14.04.2014: Ziron Assembler 2.0.0.9

	# Added conditional assignments.
		e.g. eax = (edx > 5212) ? true : false;
		or. res = if (ecx < 50) true : false;
	# Added missing code inside print macro for printing int/dword vars.
	# Added more formats for conditional assignment.
		e.g. eax = (edx > 500) ? 100;
		or . eax = (edx > 500) ? : 100;
		or . eax = (edx > 500) ? 100 :;
	# Conditional assignment ? is now optional.
	# Fixed bug when some block sizes were incorrect.
	# Fixed an error caused when the error manager encountered a null data type inside a block.
	# Fixed dates * year in changelog from 2013 to 2014 :-p
	# Fixed assigning variable to variable (Thanks to Molotov for report)
	# Fixed assigning const to variable.
	# Fixed constants interfering with macro variables.

07.02.2014: Ziron Assembler 2.0.0.8

	# Fixed instruction based assignment on new variables.
	# Fixed a few problems with ch.zir (Thanks Molotov for reports)
	# Fixed names inside blocks causing redeclared on global identifiers.
	# Fixed occasional access violation due to shared memory on assembler cleanup.
	# Fixed block functions causing compile failure.

05.01.2014: Ziron Assembler 2.0.0.7

	# Fixed macro vars containing strings unable to be re-assigned.
	# Fixed ALU instruction usage #inst [#reg], #imm16
	# Fixed cpuid not being accessible.
	# Added MSCOFF support to linker plugin. (experimental)
	# Plugin interface: consts, vars and functions all have a field symbolindex, 0 is reserved and can be used to check if they have no entry.
	# Added emacros, see zirutils.zir for emacro "using" as example.
	# Fixed issue with macro $arg[$n] when out of bounds with negative numbers.

16.12.2013: Ziron Assembler 2.0.0.6

	# Fixed an issue with break unable to work inside of nested if statements.
	# Fixed block fields not being accessible.
	# reg as 0; is now accepted to nullify assumed type.
	# Fixed moving word or byte data to var.
	# rtl dw2str fixed, and rtl _console_write_dword added, print now supports dword cast.
	# Fixed function register size on returning to global variables.
	# Fixed, sometimes assembler not showing error for unsupported instruction usage.
	# Fixes to ALU instructions usage #inst #var, #val
	# Fixed that sometimes byte size immediate values were encoded in 4 bytes.
	# Push will now emit smaller code for immediate values that will fit 1 byte.
	# Fixed sizeof not working correctly with data types.
	# Fixed comparing 2 immediate values for creating inifite loops.
	# Assume "as" can be used in assignment. e.g. edx = [ebx] as MYBLOCK;
	# Re-added rtl ch.zir
	# Repeat will now act as inifite loop by using a semicolon instead of a control op. e.g. repeat { /* code */ };
	# Declaration of multiple variables by type using comma is possible. e.g. Dword a,b=1,c;
	# Fixed ALU instructions usage #inst [#mem], #reg and #inst #reg, [#mem]
	# Fixed a problem with memory operand's scale always being a minimum of 4.
	# Added exitif; exitif (...); or exitif if (...);

11.12.2013: Ziron Assembler 2.0.0.5

	# Assembler now shows assembled file count.
	# Assembler will automatically create *file*.build.bat if one does not exist.
	# Added directive #tryinclude, this will not fail if file does not exist.

11.04.2013: Ziron Assembler 2.0.0.4 Beta

	# Possible to declare method pointers. e.g. procedure* MyProc();
	# Able to assign function pointers to variables.
	# Callable global variables. via call instruction or method pointer.
	# Possible to declare and call functions without parentheses.
	# Pushing pointer to local var will no longer use eax.
	# Fixed function calls directly from local or global variable blocks.
	# Fixed scale issue with memory operands.
	# Fixed a bug regarding negative numbers.
	# Implemented directive repeat. e.g. $repeat 10: ...
	# Fixed a bug with macros defined with no args not able to accept args.
	# Possible to access macro arguments via $arg[n]
	# Fix to $argc directive.
	# Macros will now raise an error on invalid param count.
	# Macros now can accept uncounted args via ; e.g. inline procedure mac(;) { ...
	# Macros can now also have named + uncounted args via inline procedure mac($arg1, $arg2, ;) { ...
	# Fixed $elseif not checking arguments.
	# Added intrinsic macro tokentext. e.g. tokentext(eax) will result to 'eax'
	# Macro ord now supports registers. e.g. ord(eax) or ord(ax) results in 0
	# Added new var type "sysint" - sysint size depends on the bit mode from #set
	# Added general purpose register refs based on bit #set. gp_ax, gp_cx .. gp_di.
	# 32 bit registers are no longer exposed in 16 bit mode.
	# Fixed data length was wrong for array types.
	# Fixed bug when linker would pad file by 512 bytes when data section was already aligned.
	# Initialized arrays implemented. e.g DWord count[5] = [0,2,4,6,8];
	# Initialized data now supports ansi strings.
	# Data types can now be compared via $if dword == int32:
	# Added intrinsic macro casttype.
	# Added intrinsic $substr, takes 3 params, returns text, text, offset, length, e.g. $text = $substr('Ziron', 1, 3);
	# Added intrinsic $strindex, takes 2 params, returns int, e.g. $index = $strindex('Testing', 'ing');
	# Using #set frame off in 16 bit mode does nothing.
	# New defined type 'sysword' which will default to the architecture word size, 32-bit = dword, 64-bit = qword etc
	# Possible to typecast registers and variables using [type]data; e.g. myMacro( [char*]edx );
	# Type* and pointer are now seperator identifiers.
	# Added intrinsic macro's IsPtrType and IsSignedType.

05.03.2013: Ziron Assembler 2.0.0.3 Beta

	# Mov now supports segments.
	# Segments can be assigned to in high level.
	# Implemented opcodes clc, cld, cli, sti, cmc, hlt
	# Internal optimisations for bit mode.
	# Improvement to many opcodes for 16 bit mode.
	# Improved memory operand handler.
	# Support for 16-bit addressing mode.
	# Instruction jmp/goto now supports immediate operand or imm:label/imm.
	# Optimisations to linker plugin.
	# Added exports keyword. e.g. exports func1, func2;
	# Linker plugin now supports exported functions.
	# Added linker output PE32_DLL
	# Function declarations name = nameA will now create idents for both names.
	# Push now accepts method/label pointers.
	# Support for compiled resource files via #resource 'file.res';
	# Added keyword entry.
	# Fixed bug regarding stack frame.
	# Linker can now output relocations.
	# Fixed a bug regarding global variables in some cases the data section was not written.
	# Possible to assign values directly to global variable.
	# Local variables can be assigned to globals.
	# Local vars and Memory operands can be assigned to each other. e.g. [eax] = [edx];
	# Added support for $elseif.
	# Functions now use internal dependancy reference to prevent un-used functions being written.
	# Fixed a bug making it possible to access out of scope identifiers.
	# Main code is now refered to as RTLMain.
	# Fixed a bug where in some cases the assembler will end up in a continuous loop.
	# Fixed a bug regarding /* multi-line comments */
	# Fixed passing local var pointers to macros.
	# Fixed several jump table entries for if statements.
	# Added "break if (...);" statement for loops.
	# Added a few more alternatives for compare symbols >= => <= etc.
	# Fixed alu instructions using type[reg], imm
	# Implemented opcodes xchg, imul
	# Added intrinsic macro sizeof. e.g. eax = sizeof 'This text';
	# Blocks now support functions which pass "this" as a parameter.
	# @[exp] is now supported, this included assumed. e.g. @edi.myData
	# Fixed macro vars causing error on multiple calls.
	# Now shows total lines and time taken for compile and linker time.
	# Designed a new icon.
	# Assumed register states are no longer lost on macro calls.
	# Inline now supports op style macros.

27.03.2013: Ziron Assembler 2.0.0.2 Beta
	
	# Assigning variable or variable pointer to register; the register assumes the var-type.
	# Added as keyword for use with registers. e.g. edx as MyBlock;
	# Improved how single line comments are handled.
	# Added support for negative numbers and floats.
	# Improvements to the type* pointer handler.
	# Function declarations no longer require (). e.g. function myFunc: DWord;
	# Consts now accepts mathematical equations. e.g. const sum = (5 + 5) * 12;
	# Enum's are now supported.
	# A fix with size information held for blocks.
	# Added union keyword for use inside of a block.
	# Possible to direct call function to local and global variables.
	# Fixed a mistake regarding locals.
	# Fixed mov op, @localvar and push @localvar
	# Fixed lea not accepting some base expressions with size override.
	# Consts will correctly accept ansi and wide strings.
	# Mov will now accept first op global var and second op register.
	# Added intrinsic ord. e.g. al = ord('a');
	# Implemented opcodes movsx and movzx
	# Return now will correctly return in register best fit. e.g. 4 = EAX, 2 = AX; etc.
	# Assigning function to register will assign same size register. e.g. cl = myFunc(); = cl = al;
	# Fixed push local char pointer onto stack.
	# Small update to mov instructions: eax = al = movzx eax, al and movzx/movsx eax, ecx = mov eax, ecx etc.
	# Implemented opcodes int3 and int imm8

24.03.2013: Ziron Assembler 2.0.0.1 Beta
	
	# Instruction "mov" now supports global variable types.
	# Added support for block types.
	# Static arrays are now declarable.
	# Implemented return functionality, e.g. return 5; return MyFunc(); etc...
	# Added high level assign for registers.
	# Some high level math operations for registers, ++, --, +=, -=, >>, <<, *=
	# High level cmp instruction via ==, <>, != etc, e.g. eax == 5;
	# Uses clause implemented.
	# High level base expression assignment.
	# Math operations for base expressions, global and local variables.
	# Fixed minus displacements for base expressions.
	# Support for block type variables. e.g. eax = myBlock.a.b.d;
	# Multi-line comments implemented. /* comment */
	# Added intrinsic directive #echo.
	# Added inline macro system.
	# Return macro added. e.g. $return eax;
	# Assigning strings to registers, assigns the pointer of a const.
	# Macro variables.
	# Macro vars can now accept mathematical expressions. e.g. $temp = (5 + 5) * 5 shl 3;
	# Macro vars are now able to accept tokens. e.g. $opcode = mov;
	# Added special macro variable $argc - results in the counted arguments to macro.
	# Added directive $if, e.g. $if $argc <> 2:
	# Now possible to re-assign macro variables.
	# Added intrinsic macro tokentype. e.g. tokentype(500) will return TOKEN_NUMBER.
	# Added prefix's lock, rep, repe, repz, repn, repne; USE with caution, NO opcode check added yet.
	# Added opcodes: scasb, scasw, scasd, movsb, movsw, movsd, stosb, stosw, stosd
	# Added support for mov reg, @var
	# Added mm, mm0-7 as alternative to st0-7
	# Added opcode movq.
	# MMX_SUPPORT is defined as true by default.
	# Added type keyword; e.g. type MYWORD = DWORD;
	# Added opcodes: aad, aam, aas, lodsb, lodsw, lodsd, fld, fstp, fild, fist, fiadd, ficom, 
				fidiv, fimul, fistp, fisub, fisttp, ficomp, fidivr, fisubr

11.03.2013: Ziron Assembler 2.0.0.0: Initial Alpha Release

	# Support for complex if elseif else statements.
	# Consts are written to read only memory.
	# Native unicode support, Ansi, UTF-8 and UTF-16 strings.
	# Uninitialized and Initialized data support.
	# Unused variables and consts are ignored.