# M68K Documentation

> The Motorola 68000, with eight data registers and eight address registers. Covers instructions, addressing modes, condition codes, directives and trap tasks for input, output and graphics.

Web page: https://asm-editor.specy.app/documentation/m68k

## Chapters

- [Instructions](https://asm-editor.specy.app/documentation/m68k/instruction.md): Supported instructions, operand sizes and addressing modes. (93 entries)
- [Addressing modes](https://asm-editor.specy.app/documentation/m68k/addressing-mode.md): The ways an operand names a register, a value or a place in memory. (20 entries)
- [Condition codes](https://asm-editor.specy.app/documentation/m68k/condition-codes.md): Status flags and the conditions tested by branches, conditional sets, loops and traps. (19 entries)
- [Shift directions](https://asm-editor.specy.app/documentation/m68k/shift-direction.md): Which way the shift and rotate instructions move the bits. (1 entries)
- [Trap tasks](https://asm-editor.specy.app/documentation/m68k/traps.md): Call an editor service with `trap #15`. Put its decimal task number in D0.B and use the registers listed for its inputs and results. `trap #0` through `trap #14` call handlers installed by the program. (79 entries)
- [Synth](https://asm-editor.specy.app/documentation/m68k/synth.md): Control eight sound channels through memory registers, with waveforms, volume envelopes, programmable wavetables and sample playback. (8 entries)
- [Exceptions](https://asm-editor.specy.app/documentation/m68k/exceptions.md): Exception vectors, handler entry and return, stack frames, processor modes, interrupts and cycle counts for the 68000, 68010 and 68020. (20 entries)
- [Directives](https://asm-editor.specy.app/documentation/m68k/directive.md): Assembler directives for data, reserved space, constants, sections and included files. (19 entries)
- [Assembler features](https://asm-editor.specy.app/documentation/m68k/assembler-features.md): What the assembler works out for you, such as arithmetic in operands. (1 entries)

## Optional

- [The whole M68K Documentation](https://asm-editor.specy.app/documentation/m68k/llms-full.txt): every entry of every Chapter in one file, to search through
