Motor Interrupt - RAM_START 013h RM1 EQU RAM_START 014h RM2 EQU RAM_START 015h RR1 EQU RAM_START 016h RR2 EQU RAM_START 017h_PORTL EQU PORTB_PORTH

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
; PicBasic Pro Compiler 2.46, (c) 1998, 2005 microEngineering Labs, Inc. All Rights Reserved. PM_USED EQU 1 INCLUDE "16F84A.INC" " RAM_START EQU 0000Ch RAM_END EQU 0004Fh RAM_BANKS EQU 00001h BANK0_START EQU 0000Ch BANK0_END EQU 0004Fh EEPROM_START EQU 02100h EEPROM_END EQU 0213Fh 0 R0 EQU RAM_START + 000h R1 EQU RAM_START + 002h R2 EQU RAM_START + 004h R3 EQU RAM_START + 006h R4 EQU RAM_START + 008h R5 EQU RAM_START + 00Ah R6 EQU RAM_START + 00Ch R7 EQU RAM_START + 00Eh R8 EQU RAM_START + 010h FLAGS EQU RAM_START + 012h GOP EQU
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: RAM_START + 013h RM1 EQU RAM_START + 014h RM2 EQU RAM_START + 015h RR1 EQU RAM_START + 016h RR2 EQU RAM_START + 017h _PORTL EQU PORTB _PORTH EQU PORTA _TRISL EQU TRISB _TRISH EQU TRISA #define _PORTB_1 PORTB, 001h INCLUDE "MOTORI~1.MAC" INCLUDE "PBPPIC14.LIB" " MOVE?CB 090h, INTCON MOVE?CB 001h, TRISB MOVE?CT 000h, _PORTB_1 LABEL?L _start _ PAUSE?C 001h GOTO?L _start DISABLE? D LABEL?L _Motor _ MOVE?CT 001h, _PORTB_1 RESUME? R ENABLE? E END...
View Full Document

This note was uploaded on 01/19/2011 for the course MT 100 taught by Professor Joeblack during the Spring '10 term at Texas State Technical Colleges.

Ask a homework question - tutors are online