From c86bac021bbfc58fa656e7f56676e139bef0e335 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 19 Nov 2016 19:21:09 +0000 Subject: [PATCH] + xch instruction for avr git-svn-id: trunk@34919 - --- compiler/avr/cpubase.pas | 2 +- compiler/avr/itcpugas.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/avr/cpubase.pas b/compiler/avr/cpubase.pas index d9b7482c3e..04a7434628 100644 --- a/compiler/avr/cpubase.pas +++ b/compiler/avr/cpubase.pas @@ -53,7 +53,7 @@ unit cpubase; A_LSL,A_LSR,A_ROL,A_ROR,A_ASR,A_SWAP,A_BSET,A_BCLR,A_SBI,A_CBI, A_SEC,A_SEH,A_SEI,A_SEN,A_SER,A_SES,A_SET,A_SEV,A_SEZ, A_CLC,A_CLH,A_CLI,A_CLN,A_CLR,A_CLS,A_CLT,A_CLV,A_CLZ, - A_BST,A_BLD,A_BREAK,A_NOP,A_SLEEP,A_WDR); + A_BST,A_BLD,A_BREAK,A_NOP,A_SLEEP,A_WDR,A_XCH); { This should define the array of instructions as string } diff --git a/compiler/avr/itcpugas.pas b/compiler/avr/itcpugas.pas index 5064850bef..c26d166b41 100644 --- a/compiler/avr/itcpugas.pas +++ b/compiler/avr/itcpugas.pas @@ -44,7 +44,7 @@ interface 'lsl','lsr','rol','ror','asr','swap','bset','bclr','sbi','cbi', 'sec','seh','sei','sen','ser','ses','set','sev','sez', 'clc','clh','cli','cln','clr','cls','clt','clv','clz', - 'bst','bld','break','nop','sleep','wdr'); + 'bst','bld','break','nop','sleep','wdr','xch'); function gas_regnum_search(const s:string):Tregister; function gas_regname(r:Tregister):string;