Skip to content

Feature request: Support negative from-the-end indexes in INCBIN #1998

Description

@Rangi42

We currently support INCBIN "path.bin"[, start[, len]] to include len bytes (or "the rest" of the bytes if it's not specified) starting at index start (or the beginning of the file, index 0, if it's not specified). However, we do not support negative from-the-end indexes. This use case is rare but not unheard of, and we generally do support negative indexes in other features (string functions, angle-bracketed macro arguments, etc).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementTypically new features; lesser priority than bugsrgbasmThis affects RGBASM

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions