Skip to content

Update 68000 function bindings in doc so they work with 68000 #19

Description

@vinz6751

The function bindings in the manual make use of lea <ea>,Dn , but this not supported on the 68000 (only from 68020 probably?), on the 68000, LEA's destination register must be an address register.

So we have to use:

  • move.l #buffer,d0 if using an immediate address
  • otherwise go through an address register e.g.
lea.l (a0,d6),a6
move.l a6,d0

I can do the update in a few days hopefully.

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