CPC Rulez
https://cpcrulez.fr/forum/

maj vasm
https://cpcrulez.fr/forum/viewtopic.php?f=4&t=5605
Page 1 sur 1

Auteur :  Megachur [ 09 Oct 2015, 05:44 ]
Sujet du message :  maj vasm

Mise à jour de cet assembleur qui compile le code sur de multiple-cpu dont le z80 : http://sun.hasenbraten.de/vasm/

je ne l'ai pas encore testé et je ne sais pas s'il est capable de compiler une source asm compatible maxam ? :D

Auteur :  hERMOL [ 09 Oct 2015, 09:59 ]
Sujet du message :  Re: maj vasm

je ne vois pas de binaire win32, dommage ... (pour moi)

Citer :
Currently the following CPUs are officially supported by vasm:
- M680x0 family (including M6888x, M68851 and CPU32)
- ColdFire family (all models of V2, V3, V4, V4e)
- 80x86 family (IA32 8/16/32 bit, using MIT-syntax)
- PowerPC family (POWER, 40x, 6xx, 7xx, 7xxx, 860, e300)
- ARM (architecture ARMv1 to ARMv4, including THUMB mode)
- Jaguar RISC (GPU and DSP instruction sets)
- TR3200 (virtual CPU from 0x10c)

- Z80 family (Z80, 8080, GBZ80, 64180, RCM2/3/4k)
- C16x/ST10
- 6502 family
- 6800 family (6800, 68HC11)

Auteur :  Xavier [ 09 Oct 2015, 13:34 ]
Sujet du message :  Re: maj vasm

Salut,
Ce compilateur souffre d'un problème à la base!
Il n'est pas multiprocesseurs une fois compilé.

Contrairement à Tasm, ce compilateurs doit être compilé avec les directives de syntaxes et de multiprocesseur !

"Ca change rien!", allez-vous me dire... Bhen... oui !
Il 'suffit' de le compiler avec les harmoniques Z80, et la syntaxe oldstyle.

Auteur :  AsT [ 09 Oct 2015, 14:13 ]
Sujet du message :  Re: maj vasm

Ah, le cross dev....

Auteur :  majikeyric [ 09 Oct 2015, 15:29 ]
Sujet du message :  Re: maj vasm

Moi j'utilise vasm pour coder sur Amiga...

Auteur :  trance007 [ 09 Oct 2015, 18:09 ]
Sujet du message :  Re: maj vasm

Xavier a écrit :
Il 'suffit' de le compiler avec les harmoniques Z80, et la syntaxe oldstyle.

Tu veux sans doute parler des mnémoniques Z80 ? :-

Auteur :  Xavier [ 10 Oct 2015, 11:37 ]
Sujet du message :  Re: maj vasm

trance007 a écrit :
Xavier a écrit :
Il 'suffit' de le compiler avec les harmoniques Z80, et la syntaxe oldstyle.

Tu veux sans doute parler des mnémoniques Z80 ? :-

Oui, mnémoniques (syntaxe) et op.codes Z80.
Il faut donc le compiler en exe autant de fois que l'on désire.
Code :
•CPU=6502
•CPU=6800
•CPU=arm
•CPU=c16x
•CPU=jagrisc
•CPU=m68k
•CPU=ppc
•CPU=test
•CPU=tr3200
•CPU=vidcore
•CPU=x86
•CPU=z80

 Available Syntax modules:
•SYNTAX=std
•SYNTAX=madmac
•SYNTAX=mot
•SYNTAX=oldstyle
•SYNTAX=test

Nous devons donc le compiler 10*4, soit 40 fois... 40 fichiers exécutables!
Si l'on veut avoir la configuration complète, et ainsi passer du Z80 au 6502...
Seulement quatre fois pour chaque CPU.
Sur Tasm (infos), les syntaxes sont dans des fichiers objets que l'on peut sélectionner en mode console!

Auteur :  Princesse Mariana [ 15 Mars 2016, 11:28 ]
Sujet du message :  Re: maj vasm 1.7e.

Citer :
12-Mar-2016: vasm 1.7e:
  • Ability to print the source line also in output module error messages.
  • Current PC symbol in absolute code regions was erroneously relocated to the section's base address.
  • Make sure that labels from absolute code regions are not relocated.
  • m68k: Fix for a bug introduced in last version: fmovem list,(An) and fmovem list,(d,An) were no longer recognized as valid for M68k FPUs.
  • PPC: Fixed mtvscr instruction, which uses the vB field instead of vD.
  • ARM: Accept the new SVC mnemonic as an alias for SWI.
  • ARM: Fixed macros. Previously only three characters for a macro name were allowed. Qualifiers are not allowed on ARM macros.
  • std-syntax: Permit the '$' as start character and in the middle of a label (note: a terminating '$' still defines a local label!).
  • std-syntax: A missing last macro argument no longer causes an error message, but is replaced by a default value (when defined) or an empty string.
  • std-syntax: .org directive defines the offset from the current section's start address when it appears within a section (GNU-as compatibility).
  • mot-syntax: ORG directive can be used within any normal section to define a block of code relocated to an absolute start address.
  • mot-syntax: Numeric absolute symbol expansion is supported for macro parameters of the form \<symbol> or \<$symbol> (hexadecimal value).
  • madmac-syntax: Removed the -rorg option, which is the default behaviour now.
  • oldstyle-syntax: The special macro argument \@ is replaced by an underscore, followed by a six-digit number again, as before V1.7c.
  • tos-output: Check for overflows in relocation fields.
  • aout-output: Fixed a crash since last version, when embedding absolute code regions in a section.

src/url: http://sun.hasenbraten.de/vasm/

Auteur :  Princesse Mariana [ 15 Fév 2017, 17:27 ]
Sujet du message :  Re: maj vasm

Citer :
14-Feb-2017: vasm 1.7h.
  • Implemented a dynamic line buffer. No limitations on line lengths anymore.
  • Octal escape sequences are limited to a maximum of three digits.
  • Allow assembler text output (echo, printv) in offset sections.
  • Print a warning for initialized data in a bss-type section. This already worked in the past (1.2c and later), but has been lost somewhere.
  • Some single-character labels and symbols will be rejected (depending on the syntax module).
  • -maxerrors=0 should print all errors in the source.
  • Print expressions in the listing file and the test output in decimal and hexadecimal form.
  • m68k: Immediate- and PC-relative destination addressing modes for 68851 PMOVE are not allowed. PMOVE ea,PCSR doesn't exist.
  • 6502: Perform zero-page optimization with a known label from an absolute section.
  • std-syntax: Fixed problem with parentheses in character constants.
  • oldstyle-syntax: New option -org=<address> to set the absolute base address of the program from the command line.
  • oldstyle-syntax: Implemented some listing file directives, but without any function yet: nam, subttl, page, space.
  • bin-output: Fixed output section sorting, which didn't work with some implementations of qsort().
  • elf-output: Fixed external references in stabs.
  • elf-output: Use a hash table for ELF symbols to speed up the output.
  • hunk-output: Optimization to make it faster with many sections.
  • test-output: Fixed crash when printing stabs without a value.

scr/url: http://sun.hasenbraten.de/vasm/ ;linked:

Auteur :  krusty_benediction [ 05 Mars 2017, 15:10 ]
Sujet du message :  Re: maj vasm

Depuis 1 semaine ou 2, la version quotidienne (plus récente que 1.7h, mais à compiler soit même) accèpte plusieurs instructions par ligne avec le séparateur : (comme dans la plupart des autres assembleurs)

Auteur :  Princesse Mariana [ 18 Mai 2017, 19:03 ]
Sujet du message :  Re: maj vasm

Citer :
16-May-2017: vasm 1.8:

  • External references in ORG or RORG sections are allowed.
  • Option -depend only prints relative include file names, while the new option -dependall prints all included file names, also with absolute paths.
    [...]
  • Option -depend only prints relative include file names, while the new option -dependall prints all included file names, also with absolute paths.
  • mot-syntax: Make NREF directive work for PhxAss compatibility. Allows optimization of absolute references to base-relative.
  • std-syntax: Labels ending on '$' are only local when all preceding characters are digits.
  • madmac-syntax: Fixed .long directive (which only aligned to even bytes).
  • oldstyle-syntax: New options -i (ignore everything in the operand after a blank), -noc (no C-style constant prefixes) and -noi (no intel-style constant suffixes).
  • oldstyle-syntax: Z80 supports multiple directives or instructions per line, separated by a ':' character.
  • oldstyle-syntax: Fixed parser problem with nested repeat/endrepeat blocks.
  • output-hunk: -kick1hunks must not forbid base relative relocs and references. It was supported by some 1.3 linkers (blink for example).

Auteur :  Princesse Mariana [ 07 Oct 2019, 17:39 ]
Sujet du message :  Re: maj vasm

Citer :
04-Oct-2019: vasm 1.8g:

  • Do not print informational messages when generating dependencies.
  • New option -depfile to specify a file name for the dependency output. Code generation may happen in parallel in this case.
  • Include the compile directory in the path, when printing error messages.
  • Treat a subtraction of a label from a constant as constant, when the label is from an absolute ORG section.
  • m68k: -opt-allbra makes sure that branch-optimization is enabled.
  • z80: "ld (BC/DE/HL),abs" is an illegal addressing mode.
  • mot-syntax: SECTION directive with a single argument is interpreted as section-type when the output format is "tos". Otherwise the type defaults to CODE.
  • mot-syntax: In devpac-compatibility mode allow '@' in the middle of labels.
  • mot-syntax: -phxass compatibility mode allows dots ('.') in labels (-ldots).
  • mot-syntax: Added support for Devpac IIF directive.
  • output-hunk: Fixed LINE debug hunk output (-linedebug). Now it can deal with code from multiple sources and the line numbers for executing macros and repetitions are correct.
  • output-hunk: New option -hunkpad=<code> selects the padding code for code sections to achieve 32-bit alignment. Default to 0x4e71 (NOP) for M68k.

url/src: http://sun.hasenbraten.de/vasm/

Page 1 sur 1 Le fuseau horaire est UTC+1 heure
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/