1 ;;; Test
68HC11 linker relaxation
and fixup of brclr
/brset branches
7 brclr
140,x
#200,L8 ; Branch adjustment covers the whole test
8 ;;; The
'addd' is relaxed
and we win
1 byte. The next brclr
/brset
9 ;;; branch must
be fixed
and reduced by
1. We check for different
10 ;;; addressing modes because the instruction has different opcode
and
11 ;;; different lengths.
15 brclr
90,x
,#99,L3 ; Likewise with forward branch
31 brset
*_table+
10,#95,L7
35 brset
*_table+
11,#94,L8
40 brclr
140,x
#200,_start ; Branch adjustment covers the whole test