Skip to content

Implement BITD instruction #96

@craigthomas

Description

@craigthomas

Implement the BITD 6309 instruction mnemonic in the assembler. Performs a logical AND between D and a memory value, however, the value is not stored. Sets the condition code register accordingly.

Immediate - $1085, 4 bytes
Direct - $1095, 3 bytes
Indexed - $10A5, 3+ bytes
Extended - $10B5, 4 bytes

Example:

BITD #$0800

Note that overflow V is always 0, and only the negative N and zero Z flags are modified.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions