Skip to content

[Question] +1 in add without carry #5

@jeffythedragonslayer

Description

@jeffythedragonslayer

Why is there a +1 is the add without carry macro?

            add    .macro       ; add a value to register A
                    clc         ; (handle carry flag)
                    adc   \1+1
                   .endm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions