2012.05.19: Ziron Compiler 1.1.34.7
	-fixed a bug when code entry was inaccurate when data section was exactly aligned.
	-fixed bug with macro system $arg[..
	-sizeof returns size 4 for numbers and hexidecimals.
	-sizeof now works with macro parameters.
	-string escape now also supports \t for tab character.
	-fixed while not handling multiple statements.
	-fixed Ziron_isNextLineBreak - not detecting block comments.
	-added pf function Ziron_MoveNextChar.
	-pf Ziron_RegisterKeyword will now accept single char parameters to allow manual tokenization.
	-added macro keyword $depreciated.
	-changed zirutils function name IntToStr to int2str.
		note: temporarily a macro has been added to help convert legacy code.

2012.05.17: Ziron Compiler 1.1.33.3
	-fixed multiple parameters inside imports.
	-fixed fastcall parameter local variable address.
	-internal functions now support uncounted argument list.
	-fixed a bug with add var, value
	-fixed a bug regarding interfaces.
	-fixed assigning function pointers to local variables.
	-fixed assigning const to local variables.
	-fixed assigning local variable to another local variable.
	-fixed a bug with SSE instructions and global variables.
	-added SSE instructions:
				sfence, prefetchnta, movntq
	-added 1 new sample (try_except)
	-empty block statements will no longer cause error - instead they will provide a warning.
	-pf function Ziron_ExtractLine will now extract the full line.
	-implemented try except block.
		-when exception block is entered:
			eax contains the exception code
			ecx contains the exception address
	-fixed a bug with mov esp, [esp]

2012.05.10: Ziron Compiler 1.1.32.3
	-internal functions/procedures can have default parameters.
	-inline macros can be declared with "$". e.g. inline procedure myInline($var1, $var2) ...
	-implemented SSE opcodes:
				addps, addss, subps, subss, mulps, mulss, divps, divss,
				movups, movaps, movss, minps, minss, maxps, maxss
	-added SSE instruction switch (#sse) to enable or disable (enabled by default)
		- assembler_SSE_ON is defined and can be used to see if SSE is enabled
		- to disable SSE instructions use directive #sse off;
	-added XMM (SSE) registers xmm0, xmm1, ..., xmm7
	-fixed assigning label to register (address at label)
	-fixed a BIG problem with auto labeling system.
	-added MMX instructions switch (#mmx) to enable or disable (enabled by default)
		- assembler_MMX_ON is defined and can be used to see if MMX is enabled
		- to disable MMX instructions use directive #mmx off;
	-assembled optimisation for repeat until.
	-fixed invalid address return for pf GetFunction Ziron_SetTokenType.
	-added pf function Ziron_RegisterUserToken

2012.05.06: Ziron Compiler 1.1.31.1
	-added pf function Ziron_SetTokenType.
	-implemented MMX opcodes:
				pmulhw, pmullw, pmaddwd, pcmpeqb, pcmpgtb, pcmpeqw, 
				pcmpgtw, pcmpeqd, pcmpgtd, packssdw, packsswb, packuswb,
				punpckhbw, punpckhdq, punpckhwd, punpcklbw, punpckldq, punpcklwd,
				pxor, por, pand, pandn, psllw, pslld, psllq, psrlw, psrld, psrlq, psraw, psrad
	-fixed paremeter, -nopause.
	-fixed compiler paremeter -nolog, still was outputting log.

2012.04.11: Ziron Compiler 1.1.30.4
	-fixed a bug with compile, link and build time showing incorrect values.
	-implemented MMX opcodes movd, movq, paddb, paddd, paddsb, paddusb, paddw, paddsw,
			paddusw, psubb, psubsb, psubusb, psubw, psubsw, psubusb, psubd
	-added MMX registers mm0, mm1, .... , mm7
	-fixed several memory leaks.
	-added missing opcodes idiv and div.

2011.12.20: Ziron Compiler 1.1.29.3
	-update - referencing a local variable address via ptr or @ will no longer destroy eax contents.
	-fixed bug with assembling add dword[reg], value.
	-fixed bug with local reg assignment.
	-imported functions can now accept variable uncounted arguments using [] after identifier.
	-fixed a bug with mov baseexpr, reg
	-possible to use reg += ... and reg -= ... with global vars, local vars and paremters.
	-possible to get address of assumed register offsets using @ or ptr.
	-if statements will now accept a function as the first parameter.
	-possible now to use vars and parameters in for loops.
	-fixed macro buffers were being passed to pf function FileEntry.
	-fixed a bug with data types parenthesis'd always be detected as a typecast.
	-fixed compare size error with block to integer comparison.
	-fixed problem with fixups not correctly getting the correct data address.
	-fixed mov [reg-offset], (8bit reg) (Thanks to Emil for testing code)
	-new PUSH opcode handler.
	-fixed a problem with local variables above 127 bytes but below 255. (Thanks Molotov for crash report)
	-fixed base expressions that do not have a declared type will be default as 4 when no size can be determined.
	-fixed and optimised all high level mov operations.
	-fixed (add, sub, mov) reg, [ebp+offset]

2011.11.29: Ziron Compiler 1.1.28.1
	-new ADD and SUB opcode handlers.
	-fixed a bug with pushing @globalvars
	-added new pf function ProgramEntry.
	-fixed a major flaw - overflowing null bytes when relocations were aligned on 32 byte boundary.
	-fixed folding of string constant and variable string constant.
	-fixed syntax error bug with repeat until.
	-fix to mov reg, [esp].
	-fix to push [esp] - push handler will be rewritten in later release.
	-fixed bug with sub reg, value
	-fixed a bug regarding macro assignments.
	-it is now possible to assign int64 number variables.
		e.g. int64 myint = 9223372036854775801;
	-added new reserved data type "int64"
	-fixed bug with macro returns sometimes causing syntax error. (Report by Emil)
	-fixed multiple variable declarations for locals (inside functions) - Thanks Emil for report.
	-fixed assigning function to local variable. (Thanks Molotov for report)

2011.11.20: Ziron Compiler 1.1.27.6
	-rewritten opcode LEA handler.
	-optimised internal and handler and upgraded to support and reg, reg.
	-it is now possible to declare multiple variables in a single line.
		e.g. dword i = 5, v, c;
	-fixed bug with imul and inc inside if statements causing syntax error.
	-fixed a horrible bug with new macro (Thanks to Molotov for bringing to my attention)
	-added internal macro $echo - allows output message to compiler window.
	-added new internal macro "defined" allows for $if defined(mydef) ....
		note this macro will also accept a const string.
	-fixed a bug with imul.
	-fixed problem with cmp and high offset local variables.
	-implemented opcode imul (reg, value)
	-Rewritten opcode MOV handler - base expressions now are fully supported.
	-fixed inc and dec of local variables.
	-added zir token "?" as zirQuestionSym.
	-patched a bug relating to windows 7 and pf function FileEntry. (Thanks to Emil_halim for bringing this to my attention)
	-patched internal bug relating to pf function "FileEntry".
	-fixed ebp was actually epb (typo)
	-added 2 new pf functions - Ziron_RegisterUFunction and Ziron_CallUFunc.
	-added 4 new symbols to zirPlug framework, & | && and || - see framework.zir.
	-some fixes to ch.zir (global exception handler)
	-added 2 new pf functions, Ziron_GetID and Ziron_GetVarTypeString.
	-fix to local declaration direct assignment.
	-single line registers following by a semicolon are ignored.
		implemented to allow macro functions to return a register and still be used like a procedure.
	-fixed several fpu opcodes such as fisub not accepting dword variable parameters.
	-assembler will no longer pause even if there is an error if -nopause switch is enabled (useful for editors)
	-fixed sar and sal opcodes.
	-[expressions] will be shown now correctly as [reg+reg+5] etc.
	-plugins will not longer have events for keywords executed in pf function Ziron_Execute.
	-console shows how much time each plugin has taken to complete.
	-implemented pf function Ziron_ExtractLine.
	-internal macro sizeof will now return the length of a const variable string.
	-Plugin calls to PeekNextToken, GetNextToken and ExpectNextToken will not cause keyword events for itself or other plugins.
	-removed direct casting of macro variables until more work is put into the macro system.
	-a log is now written by default to the same directory as the assembler executable, along with a -nolog switch to disable.
	-fixed opcode bswap
	-zircall and fastcall auto mov's accept @variable addresses.
	-fixed a bug with Ziron_IsNextLineBreak.
	-improved ch.zir, will now output exceptions in WIN32GUI mode with a messagebox, and WIN32CUI with console write.
	-program type now auto defines with APPTYPE_ prefix. e.g. APPTYPE_WIN32CUI
	-added pf function Ziron_PeekNextToken.

2011.11.05: Ziron Compiler 1.1.26.1
	-eax += ecx and eax -= ecx are now valid :)
	-added new zirToken types zirExclamation and zirDollarSym.
	-a few fixes to smm32.zir
	-fixed function call moving to reg, variables, local variables, parameters, consts and procedure addresses.
	-added pf function "UnregisterKeyword".
	-fixed a bug that was not removing out of scope identifiers if there was only 1 registered.
	-added $ symbol if the following is not a identifier - else it becomes a macrovariable.
	-moved all strFunctions from zirutils to strings.zir
	-fixed a bug with pf-function Ziron_GetStringValue
	-patched a bug related to plugin framework function "FileEntry".
	-fixed a bug with large local address parameters not having correct mov address.
	-fixed a bug with local parameters on the stack.
	-fixed a problem with local variable address @var - including a fix to lea reg, [reg+disp]
	-added plugin framework function Ziron_GetFileName
	-added directive #callconv <calling convension> - which will set the default convension until the next #callconv (if any)
	-fixed an optimise bug with nested zircall functions.

2011.11.03: Ziron Compiler 1.1.25.3
	-added new entry directive named plugins - see documentation for further information using plugins directive.
	-fixed a bug related to class "this".
	-developed a new calling method codenamed "zircall".
	-added borland style fastcall calling method.
	-added library function strTrim to include zirutils.zir
	-fixed library functions strLower and strHigher not checking a and z characters.
	-fixed pushing negative numbers.
	-added plugin framework function Ziron_Execute and Ziron_GetStringValue - see plugin_interface.rtf
	-fixed an 11 second debug sleep left in with the continue keyword.
	-break can now accept a 0-indexed number parameter, allow nested breaks. break 0; is equivalent to break;

2011.10.30: Ziron Compiler 1.1.24.9
	-added ziron plugin development framework file zirplug/framework.zir.
	-DLL entry event consts have been moved from ziron32.zir to system.zir
	-added sample plugin Emit plugin with zir-source.
		emit plugin allows the use of emit type out - e.g. emit byte 0x90;
	-added new functions to plugin interface. (see plugin_interface.rtf)
	-implemented a basic case switching syntax.
	-fixed repeat until and while syntax error.
	-implemented basic plugin system - see functionality in plugin_interface.rtf
	-fixed assigning to function pointer.
	-added experimental feature - calling registers as functions. (request by Emil_halim)
		e.g. eax(1,2,3,4) as cdecl; ecx('test');
		note: This feature is very experimental and may have undesired results.
	-possible to declare multiple variables under a single data type in function declaration. (request by Emil_halim)
		e.g. function myFunc(DWord a,b,c) { ...
	-fixed access violation when compiling class related function calls. (report by Emil_halim - Thanks)

2011.10.23: Ziron Compiler 1.1.23.0
	-possible to do high level shr via reg >> number; and shl via reg << number; e.g eax << 33; (Request by Emil_halim)
	-it is possible now to have unions inside of blocks via union keyword - see documentation.
	-fixed bug: byte variables can no longer be pushed onto the stack. (an alternative will be added at a later date)
	-optimised block creation, it is also now possible to declare a new block type inside a block - see documentation.
	-fixed assigning const string to local variable.
	-fixed access violation when setting register as nothing when it does not reference any data type.
	-fixed ret optimiser, not optimising 686 correctly.
	-improved fpush, it will now accept integers and floating point.
		note: it will store the value as an extended 80bit type (10 bytes) regardless of the number/size.
	-fixed a mistake in fpush - storing instead of loading.

2011.10.14: Ziron Compiler 1.1.22.1
	-improved FPU opcodes (full support)
		fcom, fcomp, fild, fld, fstp
		> see opcodes.txt for information and usage.
	-it is possible to directly re-typecast a variable - note they will permanently be changed to the new type.
		e.g. myproc((single)dwordvar);
	-added FPU opcodes
		faddp, fadd, fbld, fcmovb, fcmove, fcmovbe, fcmovu, fcmovnb, fcmovne, fcmovnbe, fcmovnu, fcomi,
		fcomip, fcompp, fprem, fprem1, fptan, fpatan, fsqrt, frndint, fscale, fsincos, ftst, fxam, fwait, fxtract, fyl2x,
		fyl2xp1, ffree, fmulp, fdiv, fninit, f2xm1, fclex, fnclex, fdecstp, fincstp, fldl2e, fldl2t, fldlg2, fldln2, fmul,
		fsub, fist, fldpi, fst, fistp, fdivp, fxch, fucompp, fnstsw, fstsw, fnstcw, fstcw, fldcw, fstenv, fnstenv, fldenv,
		fsave, fnsave, frstor, fucomp, fucom, fucomi, fucomip, fsubp, fiadd, fisub, fimul, fidiv, ficom, fdivr, fidivr,
		ficomp, fdivrp, fsubrp, fisubr, fsubr
		> see opcodes.txt for information and usage.
	-added cpu mode 686.
	-it is now possible to just write st, which would equal st(0). e.g. fadd st, st
	-fixed static arrays. e.g myarr[1].x[4] = 4;
	-The final value inside an enum no longer requires a comma or semicolon.
		e.g. enum MyEnum { value1 = 1, value2, value3 }

2011.10.09: Ziron Compiler 1.1.21.8
	-added a new macro to colors.zir -> RGB, usage RGB(255, 255, 255) will output DWord white.
	-it is possible to assign a type to declared macro variables.
		e.g. $var = float 6/2;
	-macro variables can now accept complex expressions.
		e.g. $val = ($red shl 16) or ($green shl 8) or $blue;
	-highly improved the way macro functions are handled.
	-fixed comparison of byte size variables with numbers.
	-enumerations will accept semi colons or commas at the end of each value.
		e.g. enum ... { val1, val2; val3; val4; }
	-added new samples "directx9_basic" and "enum"
	-added support for enumeration of const values.
		e.g. enum SOMETYPE {... or enum SOMETYPE:DWord {...
	-fixed pushing single (real4) variables.
	-added possiblity for classes/interfaces to inherit from one another.
		e.g. class ClassName(AnotherClassName) { ...
	-it is now possible to create an interface of functions/procedures.
		e.g. interface IClass { ...
	-function/procedure pointers no longer require call method appended, the default is stdcall;
		e.g. function* name(): DWord;
	-when assigning a variable to a register, the register will now automatically assume the datatype of the variable.
	-now possible to call from typecasted register pointer. e.g. call edi.somevar;
	-possible to call base expressions. only base register and displacement is supported for now.
		e.g. call [eax+5]
	-variables created as a pointer will be passed as a string reference to macros by default.
	-improved and added a few library functons/macros.

2011.09.26: Ziron Compiler 1.1.20.2
	-fixed assigning constant to variable.
	-fixed assigning constant string to variable.
	-compiler output shows absolute lines compiled (including commented lines, since they are still processed).
	-fixed bugs with nested repeat and if macros.
	-possible to typecast 32bit registers for passing to macros. e.g. myMacro(eax:string);
	-optimised tokenizer.
	-added internal function deftype - this can be used to get the macro variable type, int, string, register, etc
	-possible to add and dec 1 from macro vars via $var++; and $var--;
	-macro variables can now be created. e.g. $var = 0;
	-now possible to access macro variables via $arg. e.g. $arg[0], $arg[1] etc.
	-possible to recast macro variables using a colon, e.g. $var:string. e.g. myproc($var:string);
		-supported casts are string, int, register and segment.
	-added recast. e.g. recast $var as string;
	-possible now to call macros inside of other macros.
	-rewrote inline macro system.
	-added $argc macro constant, returns as a number of params passed to the macro.
	-possible to declare an inline macro with unlimited params via inline procedure myMacro(;) { ...
	-added new system.zir file, moved some compiler constants to; this file will always be required by the compiler.
		-if the file is missing; an error will be reported; it does not need to be explicitly included.
	-fixed a bug when calling functions as params.
	-fixed passing hexadecimal in high level calls. e.g myProc(0xFFFF);

2011.09.20: Ziron Compiler 1.1.19.1
	-fixed for loops access violation when not given a stepping size.
	-added assigning functions to assumed registers. e.g. edi.somevar = func();
	-fixed lea reg, [reg+ofs] and lea reg, [reg+reg+ofs]
	-fixed several bugs with local param blocks/structs.
	-fixed calling class functions from another class function. e.g. this.MyFunc();
	-possible to now goto or jmp to a register. e.g. goto eax;
	-added mov segment:addr, register, possible also to use high level assign. e.g. fs:0 = eax;
	-possible to push segment:address. e.g. push fs:0 or MyProc(fs:0);
	-added pop segment:addr
	-fixed high level calls using segments. e.g. myProc(fs);

2011.09.18: Ziron Compiler 1.1.18.3
	-fixed a bug with cpu 486 optimizer.
	-improved opcode push handler + fixed pushing var, localvar and params.
	-fixed stack problems related to local variables.
	-added assigning functions to local variables.
	-fixed assigning global variables to base registers. e.g. [eax] = globalvar;
	-fixed a bug with macro #end breaking block codes such as if, while, repeat
	-fixed assigning to a register pointer. e.g. eax.somevar = globalvar;
	-alternative to using ord for ordinal strings, its possible now to use "", e.g. eax = "test";
		note. do not confuse ordinal strings with an actual string. "test" = ordinal string, 'test' = constant string.
	-fixed a bug with lea reg, [reg+disp]
	-added getFileExt function to library file "zirutils.zir"
	-possible to push base+index register onto stack. e.g. MyProc([eax+ecx]);
	-fixed a bug with typecasting base expressions. e.g. byte[eax+ecx]
	-added additional built-in reference to widechar via wchar.
	-fixed a bug regarding imported functions sometimes having incorrect parameter offsets.
	-Compiler now sets the current directory on startup of the main zir file.
	-\r and \n can now be used inside of a string for line feed and new line. \n = 0x10 and \r = 0x13.

2011.09.08: Ziron Compiler 1.1.17.5
	-possible to use high level segment assignment. e.g. cs = eax;
	-mov now accepts seg, reg. e.g. mov cs, eax
	-possible now to push and pop segments. e.g push cs; pop ds
	-added private keywords for segments, cs, ss, ds, es, fs and gs
	-fixed assigning hex value to register.
	-fixed incorrect syntax bug when creating infinite repeat via repeat {};
	-possible to write single line if statements without block entries. e.g. if (eax == 1) dosomething;
		note: Macros can not be called inside of none block if statements.
	-rewritten and optimized if statement parser.
	-fixed a bug with using break inside of a repeat construct.
	-very simple or if statement check, should avoid using and and or together, if needed then use the or statement before the and.
		e.g. if ((eax == 5) or (eax < 500) and (eax > 400)) {
		note that currently this method does not support multiple parenthesis.
	-if statements can contain multiple if "and" compares. e.g if ((eax > 10) and (eax < 100) and (eax <> 50)) { ....

2011.09.05: Ziron Compiler 1.1.16.1
	-for step accepts registers.
	-for accepts variable assignment. e.g for (eax = myvar to ....
	-possible to use hexadecimal values in for loops.
	-possible to use register compare in for loop. e.g. for (eax = 1 to ecx) {
	-declaring a class without "uses reg" will default to using ebx for "this". e.g class Name { ... }

2011.05.30: Ziron Compiler 1.1.15.7
	-added repeat and until keyword. (repeat while is also valid)
	-added for loop.
	-added step - can be used in for loops (idea by Lord_Zero)
	-added downto - in for loops to increments and downto decrements. e.g. for (ecx = 50 downto 0)

2011.05.26: Ziron Compiler 1.1.15.4
	-fixed and improved handling reg pointers.
	-fixed and optimised opcode cmp
	-improved and optimised opcode mov
	-changed the way register pointers can be assigned. via type[exp] = ...
		e.g. char*[eax] = ord('Test');
	-possible todo true (above 0) check without == 0 or <> 0 (request by Lord_Zero)
		e.g. while (byte [eax]), if (eax), etc      	
	-fixed opcodes
		cmpsd, scasd, lodsd, movsd and outsd
	-added ! to high comparison for reversing the check.
		e.g. if (!al == 5) - is the equiv to if (al <> 5), it can be used for if (!al) etc
	-added type int (int size may vary between 32 and 64 bits in the future)
	-added internal functions low and high. e.g. high(byte) will equal 255.
		note: qword and floats are not supported.
	-fixed bug with class functions expected extra parenthesis

2011.05.24: Ziron Compiler 1.1.14.2
	-fixed assigning negative number to variables.
	-fixed high level compare type [exp], number e.g. if (byte [eax+ecx] == number) {
	-possible to assign reg pointers to reg. e.g al = [eax+edx];
	-fixed and optimised xor opcode.
	-fixed large bug concerning several while loops in the same code scope.
	-fixed a bug with uses, several rets, released the uses list before end of function.
	-fixed base expressions [reg+disp]
	-optimised and improved single line global variable declaration and assignment.
	-optimised and improved opcode sub
	-RTL Updates:
		-optimised function strlcpy
		-renamed file strutils to zirutils (makes sense to add all util macros into 1 file)
		-added new file "dclib/dcutils.zir" - containing util functions.
	-fixed high level compare reg pointer against register.
	-fixed stack parameter alignment.

2011.05.21: Ziron Compiler 1.1.14.1
	-fixed assigning hexadecimal to assumed register.
	-possible to access pointer offsets stored in a register via reg[offset]
	-fixed mov dword [reg+reg], number - if used without type prefix; the compiler will assume a size.
		e.g. mov [reg+reg], 10 will be assumed as a byte
	-fixed mov reg, [reg+reg]
	-fixed mov [reg+reg], reg
	-added mov reg, [reg+reg+/-disp]
	-fixed #define addreloc - for executables adding relocation info.
	-fixed bug with dll exports and data relocations were wrong with large data sections.

2011.05.15: Ziron Compiler 1.1.13.8
	-added cdecl calling convension.
	-possible to declare calling convension on internal functions/procedures - see documentation.
	-optimizations to several pointer referees.
	-writing ret at the end of a procedure or function is no longer required.
	-added possibility to nest function and procedure calls. e.g MyFunc1(MyFunc2(MyFunc3)));
	-added keyword global, allows you to declare a global variable inside a function or macro. e.g. global byte mybyte = 255;
	-optimised and improved opcode add - support for add reg, localvar

2011.05.13: Ziron Compiler 1.1.12.2
	-assigning 4, 2 or 1 character const string to a 32bit register, moves pointer to save from confusion.
	-fixed cmp eax, 'test'
	-fixed xchg opcode
	-improved xchg - xchg reg, reg
	-added RTL functions/procedures:
		function strLower(char*): char*;
		function strUpper(char*): char*;
		function strLunarize(char*): char*;
	-added macro if comparison "of" if $val of 0: - of checks the token type, 0,1,2,3 etc are numbers. 'test' - is const string etc.
	-changes to the RTL units:
		-new and delete, new accepts now a number as param, which will alloc param amount of bytes
		-added inline procedure freemem
		-new and delete use HeapAlloc, malloc and freemem use GlobalAlloc
		-malloc and freemem require parenthesis, new and delete do not.	
	-fixed class bug - "this" was using edx regardless of uses register in class definition.
	-possible to assign numbers to local variables.
	-fixed compare register to const string.
	-added opcode "goto" - identical to jmp, just more common in higher level languages.
	-compiler auto defines program type "WIN32DLL" etc.

2011.05.12: Ziron Compiler 1.1.11.1
	-huge improvement to compilation, average compile speed. 50% faster than 1.1.10.7.
	-possible to access offsets, if var is array, offset is the offset=offset*size, else offset= size. e.g. var[4]
	-fixed assignment of const pointers. e.g. eax = @const1;
	-when assigning a const string to a 32bit reg, if the string is too large, a pointer to the const is moved to the register.
	-possible to use sizeof 'const string' to return the actual size/length of the storage.
	-added compile modes - clean and mean (clean is default) - modes will allow additional unsupported code methods.
		-mode clean - clean will enforce a strict ziron coding practice, and provide more errors and warnings.
		-mode mean - mean mode will attempt to produce as expected without enforcing coding practice.
	-(mean mode only) consts can be declared without const prefix. e.g. myconst = 'something';
	-added internal compiler function loadfs. loadfs can be used to load external files as a const string. e.g. const image = loadfs('.\\myimage.jpg');
	-fixed assigning macro to new var declaration.
	-fixed global var to local var assignment (reported by RoLex)
	-added auto define compiler version - format is "ZIRON_n" where n = 11111 or 11107. e.g. ZIRON_11111.

2011.05.09: Ziron Compiler 1.1.10.7
	-fixed export table sorting (functions with lowercase first character were not exported in correct order)
	-improved identifier handler.
	-improved variables now hold their own signed and unsigned flag.
	-added signed and unsigned flag keywords. e.g. unsigned int32 var;
	-several fixes and optimizations to global variable assignments.
	-possible to declare new variable and assign in a single line. e.g. DWord a = 5000;
	-fixed global to local variable assignment (reported by RoLex)
	-removed function directives entry: and start: - these must be removed from your functions and procedures.
	-added entry function/procedure prefix keyword. e.g. entry function Name(....
	-possible now to declare local variables anywhere inside a function.
	-possible to declare an executable entry point via entry: (idea by Lord_Zero)
	-added keyword inherit, can be used to re-declare variables, handy for macros. e.g. inherit char somechar;

2011.05.05: Ziron Compiler 1.1.9.1
	-fixed uses clause.
	-fixed a bug with cmp type [reg], number.
	-experimental change to how base and index registers are handled (some things may cause exceptions, until fixed)
	-some changes to the way assume works, further documentation will be put up about this.
	-possible to define a register as a struct/block type via. edx as ZDataType and edx as nothing;
		-it is also possible to mov data and assume in 1 line. e.g. edx = data as ZDataType;
	-registers can have assumed data types and be accessed directly. e.g. eax.var = _var;
	-fixed a bug concerning fixups. (noticable on larger programs)
	-fixed a bug with classes not passing the "this" correctly.
	-fixed bug with having more than 1 function inside a class.
	-fixed relocation output for procedures and functions (bug found by RoLex)
	-fixed register size checking for below 32bit regs.
	-now possible to use * pointer type in internal declared functions/procedures.
	-added $ for directives. e.g. $repeat 10:
	-old macro system has been scrapped.
	-implemented inline. e.g. inline function name(vars) {.
	-optimised directives.
	-added macro directive $return. e.g. $return true;
	-directive expect has temporarily been removed, until further notice.
	-possible to use @ symbol also for pointer to variables. e.g. eax = @var;
	-can now access return data from macro, using the name of the macro with $ or # prefix.

2011.04.24: Ziron Compiler 1.1.8.24
	-local variables can now use ++ and -- for inc and dec. e.g. var++;
	-blocks can now contain pointers to themselves.
	-fixed a bug with directly assigning block variable. e.g. x.y = z;
	-can now create alias of types via type dw = DWord;
	-completed include files.
		-wsock32.zir
	-fixed a bug with assigning function result to variable size was incorrect for blocks.
	-possible to use while forever loop via while () {
	-improved the variable handler.
	-fixed opcode dec not being handled.
	-linker now optimises the short relative jump operations saving 3 cycles per jmp and 4 cycles for conditional jumps.
	-console displays compile, link and total completion time.
	-improved if and while handler, both now use the same comparator algorithm.
	-added keyword continue, continue can be used inside of while loops - see help.
	-fixed bug when calling macros inside a second level file.
	-possible to compare negative numbers. e.g. if (EAX == -1) {
	-added/improved opcodes:
		-not <reg>
		-lea <reg>, <local var>
		-salc - see help.
		-bt, btc, btr, bts, verr, verw, in, out, iretd, lar
	-fixed mov <reg>, <local var>
	-implemented classes - see help.
	-work-around for a bug concerning resoure dialogs (pe coff problem)
	-added directive #cpu, used for targetting cpu for optimisations. available modes 386 and 486. (386 is default mode)
	-function leave is now optimised when using 486 mode.
	-fixed cwd and cdq, now seperated output.
	-fixed cwde and cbw.
	-fixed insw and insd.

2011.04.14: Ziron Compiler beta 1.1.7.13
	-added assignable function and procedure* pointers. - actually this was added 1.1.6.14 but not added to changelog.
	-fixed a bug with called functions, losing code scope.
	-optimisation - speed up detection of keywords. 85% faster than 1.1.6.14
	-implemented opcodes:
		-int
		-bswap
		-adc reg, reg
		-cpuid
		-setae/setnb/setnc
	-possible now to declare local arrays
	-fixed pushing large local variables
	-fixed a bug with block variables.
	-fixed a bug with assembler cmp local var and number.
	-improved if, now possible to compare register with number, and register with variable.
	-possible to declare arrays inside of blocks/structs.
	-can now use * for pointer types in imports.
	-added new default type "widechar" - widechar are 16 bits (2 byte)
	-imported names are now also accepted as function/procedure calls.
		e.g. procedure A = B(etc...); both A and B call would be valid.
	-changed keyword addr to ptr - makes more sense.

2011.04.12: Ziron Compiler beta 1.1.6.14
	-speed-up optimisation of the compiler. (3.5x faster than 1.0.5.0)
	-changed error system (experimental)
	-further optimisations and changes to the compiler. (experimental changes)
	-error system now outputs the line of code the error occured
	-improved const, now you can declare const size. e.g. const byte x = 0x24, 0x90, 0x00; (experimental)
	-added keyword static, static is like const, but will always write the data to file, and is faster than const.
		e.g. static byte temp = 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90;
	-more optimisations, 1 fold speed up. (note some things may stop working, they will be fixed if you find any)
	-upgraded to new system:
		-procedure/function handler.
		-cmp handler.
		-lea handler.
		-assume and drop handlers.
		-const handler.
		-export handler.
	-#repeat macro can now support very large numbers.
	-fixed a bug with SizeOfImage when code was larger than 4kb
	-possible to declare an array of type. e.g. DWord x[5000]	- this will be 4 * 5000
	-relocation table is now written behind import and export tables.
	-fixed a bug with dll imported function call relocations.
	-fixed out of scope bug.
 
2011.04.06: Ziron Compiler beta 1.0.5.0
	-fixed a bug, compiler not reporting macro errors.
	-fixed a bug with macro #if not working.
	-eax = 0 will not longer assemble as xor eax, eax
	-added reg = xor; and reg = or - these will call the param opcode for the register on itself, e.g. eax = or will assemble as or eax, eax.
	-added directive #exit - exit allows you to exit macros and files prematurely.
	-added uses for automatically pushing and popping of registers. - e.g. uses eax, edx; ret;
	-linker will no longer point to directories that do not exist.
	-fixed a bug with linker - after using #define addreloc for exe, linker will no longer add stripped reloc value.
	-added basic support for res files id entries only.
	-fixed linker support for large files
	-added directive #resource - e.g. #resource 'filename.res';

2011.04.02: Ziron Compiler beta 1.0.4.2
	-added support - dec reg
	-fixed bug with cmp reg, number
	-added support for inc var and dec var
	-added basic while loops - see help.
	-fixed cmp local var, number.
	-fixed a bug with mov var, number.
	-dlls will now by default add reloc blocks, exe will not, however you can define addreloc to add relocs to exe. e.g. #define addreloc;
	-added break - see help
	-improved while - now uses signed or unsigned jmp operation.
	-added new data type. int32 - int32 are marked signed, for use with whiles and other high level code.
	-fixed a bug with cmp var, number.
	-fixed several bugs with long relative jumps.
	-new syntax for increment and decrement - reg++ reg-- counter++ and so on.
	-possible to assign numbers, other regs, and functions to registers. EAX will not be assigned from a function but can be used for visual reference.
	-now possible to assign number to variables. e.g. somevar = 5;
	-assigning 0 to a register has been optimised.
	-optimised some internal code for managing global variables.
	-optimisation - const strings will be re-used when possible.
	-added 2 new data types, sbyte and short, they are both marked signed, sbyte is 1 byte long short is 2 bytes.
	-fixed a bug with the compiler error handler.
	-added support for lea eax, [eax+5]
	-added support for cmp type [reg+reg], number. e.g. cmp word [eax+edx], 523
	-added alternatives to =! - != and <>
	-added support xor reg, number. e.g. xor eax, 5
	-fixed a bug with hexadecimal not accepting lowercase a to f.
	-added support or reg, reg
	-added while and if comparison of 2 registers. e.g. if (eax < ecx) {....
	-added support mov reg, [reg+reg] - e.g. mov ax, [ecx+edx]
	-added support xor reg, [reg+reg+offset] - e.g. xor eax, [eax+edx+5]
	-added support for mov [reg+reg], reg - e.g. mov [eax+edx], al
	-added support mov reg, 'a' - e.g. mov al, 'A'
	-added support for elseif and else.

2011.03.31: Ziron Compiler beta 1.0.3.1
	-#endif has been changed to #end.
	-added directive #repeat - see help.txt
	-fixed a bug with #if and #end directive - not outputting syntax error on failure.
	-renamed set to assume.
	-renamed unset to drop.
	-changed syntax of assume - see help.
	-added assume reg as nothing - it is recommeded to use drop when possible.
	-added dll project mode - e.g. program WIN32DLL 'Sample';
	-added keyword exports - see help.
	-fixed a bug with pointer types.
	-fixed a bug with mov mem, number.
	-added reloc output (important for dll).
	-added keyword "entry" for DLL projects - see help.
	-possible to use mov reg, CONST and cmp reg, CONST
	-possible to use #if to compare with const and const string. e.g. #if #arg[0] == const string:
	-dll's will no longer compile without an entry function.

2011.03.26: Ziron Compiler beta 1.0.2.1
	-added macro system - see help.txt.
	-added directive "#expect" - see help.txt
	-improved built in function support. can now be used anywhere.
	-added directives #if #elseif #else
	-added blocks. blocks are basically structs - see help.txt
	-added pointer to data. e.g. structname* ptr;
	-improved lea, you can now use lea $reg, $var
	-fixed a bug with const values - unable to create const numbers and hexidecimals.
	-fixed a bug with mov reg, minus numbers e.g. mov $reg, -3423
	-fixed a bug with cmp reg, number
	-improved mov type [reg+number], number. e.g. mov dword [eax+53], 2323
	-fixed a bug with mov reg, variable
	-fixed a bug with mov var, reg
	-added set and unset, see help.txt
	-#include will not recursively include. only 1 instance.
	-added #reinclude directive.
	-fixed linker - section names were not being written correctly.
	-fixed linker - file alignment with large executables.
	-improved const handling, many new operators usable. e.g. const x = y + z + 40 or 0x34 and v;
	-added blob - see help.txt

2011.03.23: Ziron Compiler beta 1.0.1.0
	-now possible to declare a const string with the const keyword - "const sStr = 'test';" - auto trailing null byte.
	-fixed a bug with comments at end of the file causing compiler to get stuck in a loop.
	-added fpush opcode, see opcode.txt for info.
	-added mov $mem, $reg32 - see opcode.txt.
	-added mov $mem, $mem - see opcode.txt
	-added fpu instructions fldz, fld1, fldpi, fchs, fnop, fabs, fcos, fsin, fcom, fcomp.
	-added instructions
		aaa, aad, aam, aas, cbw, cdq, clc, cld, cli, clts, cmc, cmpsb, cmpsw, daa, das, emms, femms, 
		hlt, insb, insw, into, invd, iret, lahf, leave, lock, lodsb, lodsw, movsb, movsw, outsb, outsw,
		popad, popfd, pushad, pushfd, repe, repn, sahf, scasb, scasw, stc, std, sti, stosb, stosw, wait, 
		wbinvd, xlat
	-fixed a bug with local function/procedure parameters.
	-added mov $reg, $var - see opcode.txt
	-removed \# switch
	-now possible to use + to append strings together. e.g. const pStr = 'this is'+' a '+'string'+13+0x10;
	-added multiline comments. /* comment */
	-added pop $reg
	-added compiler directives - #define, #ifdef, #ifndef, #undef, #require, #raise - note #include will auto #define the filename.
	-added fpu instruction fnstsw ax
	-possible to set a new const equal to another, even as address of declared variable.
	-added or to const declarations. e.g. const X = Y or Z;
	-updated mov - possible for mov word [eax], 0x4444 or mov byte [eax], 'A'
	-updated cmp - possible for cmp eax, 5 - without type, will auto cmp eax as dword unless explicitly written cmp word [$reg], 5
	-added mul $reg.
	-fixed bug with rol and ror when shift by 1
	-added instructions shl and shr - see opcode.txt
	-added lea reg scaling - lea eax, [eax+edx*scale]	- scale can be 2 or 4. note that syntax requires scale be last.
	-improved negative support. e.g. push -323
	-improved add, add $reg, $reg.
	-added sub, sub $reg, 243 and sub $reg, $reg
	-improved add $reg, $conststr and sub $reg, $conststr - e.g. sub eax, 'test'
	-improved mov - mov [$reg], $reg

2011.03.21: Initial Beta 1.0.0.0
	(see forums for support)