source: branches/AVR/AVR architecture.xml

Last change on this file was 1, checked in by george, 15 years ago
  • Přidáno: Větve AVR a Z80.
File size: 1.6 KB
Line 
1<architecture type="avr">
2 <instruction_width>16</instruction_width>
3 <operand_types>
4 <operand_type>
5 <name>register</name>
6 <minimum>0</minimum>
7 <maximum>31</maximum>
8 <bit_count>5</bit_count>
9 </operand_type>
10 </operand_types>
11 <instructions>
12 <instruction>
13 <name>ADC</name>
14 <fullname>Add with Carry</fullname>
15 <description>Add two registers and the contents of the C Flag and places the result in the destination register Rd.</description>
16 <opcode>
17 <constant>$1c00</constant>
18 <mask>$fc00</mask>
19 <operands>
20 <operand type="register">
21 <mask>$01f0</mask>
22 </operand>
23 <operand type="register">
24 <mask>$020f</mask>
25 </operand>
26 </operands>
27 </opcode>
28 <sreg>--CCCCCCC</sreg>
29 <cycles>1</cycles>
30 <words>1</words>
31 </instruction>
32 <instruction>
33 <name>ADD</name>
34 <fullname>Add without Carry</fullname>
35 <description>Add two registers without C Flag and places the result in the destination register Rd.</description>
36 <opcode>
37 <constant>$0c00</constant>
38 <mask>$fc00</mask>
39 <operands>
40 <operand type="register">
41 <mask>$01f0</mask>
42 </operand>
43 <operand type="register">
44 <mask>$020f</mask>
45 </operand>
46 </operands>
47 </opcode>
48 <sreg>--CCCCCCC</sreg>
49 <cycles>1</cycles>
50 <words>1</words>
51 </instruction>
52 </instructions>
53
54</architecture>
Note: See TracBrowser for help on using the repository browser.