Menu

struct_pgm_z80 / Blog: Recent posts

Project is not dead yet. Added some while macros

Added some while macros.
_while_equ/_while_neq and mask versions support register pairs.
Example:
_while_neq(bc,0x0000)
nop
_wh_end

Posted by Jacques Pelletier 2025-07-12

New version ported from Awk to C

I ported the code from Awk into C so the program no longer needs Awk to run. See str-z80

Posted by Jacques Pelletier 2025-04-03

New structured macro: for loops

This macro assumes a register increment.

Some examples:
_for(a,#0)
_for_end(a,#20)

    ;from 10 to 20
    ld      e,#20
    _for(a,#10)
    _for_end(a,e)

    ;16 bit counter
    _for(bc,#0)
    _for_end(bc,#0x23FF)

    _for(de,#0x2000)
    _for_end(de,hl)
Posted by Jacques Pelletier 2023-11-27


New bug fix release

This release makes it more robust.
The macro '_print' works and can print these caracters: ";:,()[]{}
Labels and comments are allowed on the same line as macros
Problems with labels including '_do' are corrected. Labels are now independent from macros.

Posted by Jacques Pelletier 2022-08-03

New macros (see code)

Added GNU copyrights, some macros, modified EQU and NEQ macros.

Posted by Jacques Pelletier 2019-08-14

Update

Some added macros.

Posted by Jacques Pelletier 2016-07-29
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.