Short: WLA DX - 8-bit CPU Cross Macro Assembler Author: Ville Helin & People at GitHub Uploader: ville helin gmail com (Ville Helin) Type: dev/cross Version: 10.4 Replaces: dev/cross/wla_dx_v10.3.lha Architecture: m68k-amigaos >= 2.0.4 Distribution: Aminet WLA DX - Yet Another GB-Z80/Z80/6502/65C02/65CE02/65816/6800/6801/6809/ 8008/8080/HUC6280/SPC-700/SuperFX Multi Platform Cross Macro Assembler Package Included in this release are executables for 68000, 68020 and 68040, compiled using SAS/C v6.58. The full sources are also inside the archive. For the latest sources: https://github.com/vhelin/wla-dx CHANGELOG: Assemblers: v10.4 (24-Nov-2022) [ALL] If a value is .DEFINEd later in the same source file than used in a pending calculation, WLA can now solve the pending calculation before exporting it to WLALINK. [ALL] Added .SEEDRANDOM (seeds random number generator with current time -> random). [ALL] Added built-in functions min(a,b), max(a,b), random(min,max), sqrt(a), abs(a), cos(a), sin(a), tan(a), acos(a), asin(a), atan(a), atan2(a,b), cosh(a), sinh(a), tanh(a), log(a), log10(a), pow(a,b), sign(a) and clamp(value,min,max). [ALL] When a built-in function was called with a negative sign the sign was ignored sometimes. [ALL] Floating point values can be given to a .MACRO as arguments and accessed via 1 etc., they are not rounded to integers any more. Previously only named args would work without rounding. [ALL] When using a .FUNCTION the result was rounded to an integer - not any more. [ALL] .FUNCTION body can now be a single argument. [ALL] Built-in (and .FUNCTION) arguments can now be put on multiple lines. [ALL] We now use ANSI C's tmpfile() to create tmp files. This should allow multiple concurrent instances of WLA to run in the same directory at the same time. [ALL] When using -M, if you specify -o or -l later on the command line you can output an object or a library file at the same time. Disable file generation with -t. [ALL] A calculation can be split into multiple lines if the last symbol on the line is a '+', '-', '*'. etc. [ALL] Unnamed .STRUCTs inside other .STRUCTs don't generate _paddingof_* definitions any more. [ALL] Pending calculations work now as macro arguments. [ALL] Fixed INSTANCEOF in .ENUM when .STRUCT used SIZE (WLA doesn't generate bytes in that case any more). [ALL] Negating pending calculations inside parentheses inside pending calculations ignored the sign. [ALL] Negating calculations inside parentheses should now work in every case. [ALL] Dotted .INSTANCEOF works now in .ENUMs. Linker: v5.19 (24-Nov-2022) WLALINK turned doubles into ints too early in computing pending calculations on some cases thus losing precision.