mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Coldfire (m68k): Add macros for tpf.w/l instructions.
Better than inserting ".word 0x51fc/b". Assembler doesn't support them but does the plain "tpf" without extension words as well as "trapf". Change-Id: I929c0ec84c6e76e0573ff6308634542fd8aee738
This commit is contained in:
parent
cfc32fe75f
commit
3c391ad51b
1 changed files with 11 additions and 0 deletions
|
@ -867,6 +867,17 @@ Lyre prototype 1 */
|
||||||
.endm
|
.endm
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(CPU_COLDFIRE) && defined(__ASSEMBLER__)
|
||||||
|
/* Assembler doesn't support these as mnemonics but does tpf */
|
||||||
|
.macro tpf.w
|
||||||
|
.word 0x51fa
|
||||||
|
.endm
|
||||||
|
|
||||||
|
.macro tpf.l
|
||||||
|
.word 0x51fb
|
||||||
|
.endm
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef CODEC_SIZE
|
#ifndef CODEC_SIZE
|
||||||
#define CODEC_SIZE 0
|
#define CODEC_SIZE 0
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue