Skip to content

Access to REPEAT counter #163

Description

@thrust26

Currently I am doing this:

_VAL SET 0
  REPEAT 5
     .byte _VAL * 10
_VAL SET _VAL + 1
  REPEND

With access to the repeat counter (e.g. REPCNT), one could do this:

  REPEAT 5
     .byte REPCNT * 10
  REPEND

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions