+ ;; set RTI intervals, and PA3/7 DDRs
+ ldaa #0x81
+ staa 0x1026 ;; RTI interval becomes E/2^14 = 6.6ms (or 150 Hz)
+
+ ;; clear ADC register
+ clra
+ staa 0x1030
+
+ ;; set the stack pointer
+ lds #_stack
+
+ ;; blank initialised variables - should match memory.x's page0