浏览代码

+ xch instruction for avr

git-svn-id: trunk@34919 -
florian 8 年之前
父节点
当前提交
c86bac021b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      compiler/avr/cpubase.pas
  2. 1 1
      compiler/avr/itcpugas.pas

+ 1 - 1
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 }

+ 1 - 1
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;