annotate defs/m6809.d @ 1699:0ec4d6e34fcc

Added xmode (forgot for 6309) in makefile
author boisy
date Tue, 03 Aug 2004 19:53:36 +0000
parents 7af4d12008f4
children 27e85b681dab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1626
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
2 ; m6809
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
3 ;
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
4 ; $Id$
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
5 ;
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
6 ; Edt/Rev YYYY/MM/DD Modified by
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
7 ; Comment
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
8 ; ------------------------------------------------------------------
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
9 ; 2004/05/17 Boisy G. Pitre
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
10 ; Started.
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
11
1630
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
12 .title Motorola 6809 Definitions
1626
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
13
1630
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
14 ; Motorola 6809 Register Definitions
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
15 R$CC == 0 ; Condition Codes register
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
16 R$A == 1 ; A Accumulator
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
17 R$B == 2 ; B Accumulator
1626
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
18 R$D == R$A ; Combined A:B Accumulator
1630
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
19 R$DP == 3 ; Direct Page register
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
20 R$X == 4 ; X Index register
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
21 R$Y == 6 ; Y Index register
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
22 R$U == 8 ; User Stack register
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
23 R$PC == 10 ; Program Counter register
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
24 R$Size == 12 ; Total register package size
1626
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
25
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
26
1630
7af4d12008f4 Updated ChangeLogs with slight formatting differences
boisy
parents: 1626
diff changeset
27 ; Condition Code Definitions
1626
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
28 Entire == 0b10000000 ; Full Register Stack flag
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
29 FIRQMask == 0b01000000 ; Fast-Interrupt Mask bit
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
30 HalfCrry == 0b00100000 ; Half Carry flag
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
31 IRQMask == 0b00010000 ; Interrupt Mask bit
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
32 Negative == 0b00001000 ; Negative flag
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
33 Zero == 0b00000100 ; Zero flag
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
34 TwosOvfl == 0b00000010 ; Two's Comp Overflow flag
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
35 Carry == 0b00000001 ; Carry bit
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
36 IntMasks == IRQMask+FIRQMask
c01a65c813ce Definition files to use with as6809
boisy
parents:
diff changeset
37 Sign == 0b10000000 ; sign bit