                        .module ATD_noInt.c
                        .area text
 0000           _main::
 0000 34                pshx
 0001 B775              tfr s,x
 0003 1B9E              leas -2,sp
 0005 2020              bra L5
 0007           L4:
 0007 C680              ldab #128
 0009 7B0082            stab 0x82
 000C C608              ldab #8
 000E 7B0083            stab 0x83
 0011 C680              ldab #128
 0013 7B0084            stab 0x84
 0016 C627              ldab #39
 0018 7B0085            stab 0x85
 001B                   ; vol
 001B F60090            ldab 0x90
 001E 87                clra
 001F 6C80              std 0,sp
 0021 CC002D            ldd #L7
 0024 160000            jsr _printf
 0027           L5:
 0027           ;  //********************************** INCLUDES **********************************
 0027           ; 
 0027           ; #include <mc9s12dp256.h>
 0027           ; #include <stdio.h>   
 0027           ; 
 0027           ; void main(void)
 0027           ; {
 0027           ; 
 0027           ; 	while(1)
 0027 20DE              bra L4
 0029           X0:
 0029           ; 	{
 0029           ; 	ATD0CTL2 = 0x80; // Enable ATD operation
 0029           ;     ATD0CTL3 = 0x08; // single conversion performed
 0029           ;     ATD0CTL4 = 0x80; // 8 bit conversion
 0029           ;     ATD0CTL5 = 0x27; // Continuously (SCAN=1) read channel 7
 0029           ;     
 0029           ; 	printf("value = %ud\n\r", ATD0DR0H);	
 0029           ; 	}
 0029           ; }
 0029           L3:
 0029 B757              tfr x,s
 002B 30                pulx
 002C                   .dbline 0 ; func end
 002C 3D                rts
 002D           L7:
 002D 76616C7565203D202575640A0D00      .byte 'v,'a,'l,'u,'e,32,61,32,37,'u,'d,10,13,0
