MDL (Z80 assembler optimizer) assembler dialects

Поділитися
Вставка
  • Опубліковано 30 чер 2024
  • In this video I explain the different assembler dialects that MDL accepts, and I talk about a few personal recommendations of things to have in mind if you would like your assembler code to be more portable. You can get MDL here:
    github.com/santiontanon/mdlz8...
  • Наука та технологія

КОМЕНТАРІ • 5

  • @grauwsaur
    @grauwsaur 3 роки тому

    Nice videos! Going to watch the third one next :). About the escape sequences, yeah I’m a bit regretting implementing that in Glass. I think my original motivation was to allow strings to contain the " character, and the \ escaping seemed more generally useful than the doubled "" that the M80 and Gen80 assemblers support. But the alternative where you just type the character code in decimal is not really much longer or more difficult to read, and it’s more standard assembly.
    And, actually, just check e.g. VGMPlay Application.asm. I’m not even using it myself! Dang.

    • @SantiagoOntanonVillar
      @SantiagoOntanonVillar  3 роки тому

      Thanks! I actually don't dislike the idea of escape sequences, but since some assemblers do not support it, it just becomes non portable. Oh well... :) I have a few more cases that I did not include in the video of assemblers interpreting things differently that are curious. For example, "asMSX" does not interpret lines like "my_label: equ 100" as a label, and thus ignore them for local labels, while other assemblers do consider those as labels. So, same exact code is compiled differently as well :) Anyway, I just thought these mismatches between dialects were interesting :)

  • @user-yi8pz7cf7c
    @user-yi8pz7cf7c 3 роки тому

    спасибо

  • @jacs3291
    @jacs3291 3 роки тому

    Ohh Santi, te has apuntado a la moda de los videos en inglés. Una pena, para los que entendiendo perfectamente el castellano no llegamos a esos niveles de inglés. No nos hacemos valer. Que aprendan castellano ellos.