1. Startade MPLAB IDE v7.21
2. Valde "Project Wizard" och ställde in rätt PIC-krets (dvs PIC18F1320) och valde namn + sökväg
3. Gjorde en source-fil och klistrade in asm-koden ovan.
Resultat?
Executing: "D:\Program\Microchip\MPASM Suite\MPAsmWin.exe" /q /p18F1320 "test_igen.asm" /l"test_igen.lst" /e"test_igen.err"
Error[149] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 15 : Directive only allowed when generating an object file
Warning[220] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 17 : Address exceeds maximum range for this processor.
Error[118] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 17 : Overwriting previous address contents (000D)
Warning[220] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 18 : Address exceeds maximum range for this processor.
Warning[220] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 21 : Address exceeds maximum range for this processor.
Warning[220] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 22 : Address exceeds maximum range for this processor.
Warning[220] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 23 : Address exceeds maximum range for this processor.
Error[126] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 24 : Argument out of range (0011 not between 0000 and 1FFF)
Warning[226] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 24 : Destination address must be word aligned
Warning[220] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 24 : Address exceeds maximum range for this processor.
Warning[220] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 24 : Address exceeds maximum range for this processor.
Error[173] _SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM 27 : Source file path exceeds 62 characters (_SÖKVÄGEN_\PIM-MPLAB\TEST_IGEN.ASM)
Halting build on first failure as requested.
BUILD FAILED: Wed Oct 05 22:49:26 2005
Jag kan inte MPLAB IDE så jag vet inte vad jag gjort för fel.
Har inte gjort några andra inställningar. Det jag gjort står i punkt 1-3 högst upp i detta inlägg.
Kort sagt: Hjälp!
