Step 1: Create a PIC Document Type with the file extensions of asm and inc.
Code: Select all
MPAsmWin.exe /q /pNNNNNN "$f" /l"$fb.lst" /e"$fb.err"
For example for the PIC16F690 device this would be the command line:
Code: Select all
MPAsmWin.exe /q /p16F690 "$f" /l"$fb.lst" /e"$fb.err"
Step 2: Make sure MPAsmWin.exe is in the path.
Step 3: To programmer the hex file into the microcontroller add the following tool to the PIC document type:
Program: C:\Program Files\Microchip\PICkit 2\PICkit 2.exe
Directory: C:\Program Files\Microchip\PICkit 2\
This tool can now be used to upload a hex file to the microcontroller from within Zeus.
Step 4: To have Zeus correctly syntax highlight the code, edit the document type and add these keywords.
Reserved words:
User Defined #1MOVLW
MOVF
MOVWF
CLRF
CLRW
COMF
DECF
INCF
BCF
BSF
RLF
RRF
SWAPF
GOTO
CALL
RETURN
RETLW
RETFIE
BTFSC
BTFSS
DECFSZ
INCFSZ
NOP
CLRWDT
OPTION
SLEEP
TRIS
ANDLW
ANDWF
IORLW
IORWF
XORLW
XORWF
ADDWF
ADDLW
SUBLW
SUBWF
User Defined #2SET
DEVICE
INCLUDE
CONFIG
EQU
User Defined #3W
F
C
Z
Cheers JussiINDF
IND0
TMR0
RTCC
PCL
STATUS
FSR
PORTA
PORTB
EEDATA
EEADR
PCLATH
INTCON
OPTIO
TRISA
TRISB
EECON1
EECON2
IRP
RP1
RP0
TO
PD
DC
GIE
EEIE
RTIE
INTE
RBIE
RTIF
INTF
RBIF
RBPU
INTEDG
RTS
RTE
PSA
PS2
PS1
PS0
EEIF
WRERR
WREN
EWR
ERD