5 ;; set port a to output
21 ;; enable the ADC, and configure IRQ' for edge-sensitive operation
25 ;; set RTI intervals, and PA3/7 DDRs
27 staa 0x1026 ;; RTI interval becomes E/2^14 = 6.6ms (or 150 Hz)
37 ;; set the stack pointer
44 ;; blank initialised variables - should match memory.x's page0