Gönderen Konu: MPASM assembler hataları numaralı listesi  (Okunma sayısı 1553 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı TA4ASA

  • 67proje
  • *
  • İleti: 240
  • Come, come again, whoever you are, come!
    • İşçi
    • Marmaris
MPASM assembler hataları numaralı listesi
« : 02 Aralık 2007, 19:47:42 »
Alıntı
MPASM assembler hatalari numarali listesi asagidadir:

101 ERROR:
Kullanici hatasi, yanlis yönlendirme.

102 Out of memory
Dahili islemlerde veya tanimlamalarda (#define) makrolar için yetersiz bellek.

103 Symbol table full
Dahili sembol tablosu için yeterli bellek yok.

104 Temp file creation error
Geçici dosya olusturulamiyor. Diskteki bos alani kontrol ediniz.

105 Cannot open file
Dosya açilamiyor. Dosyayi kontrol ediniz. Yazmaya karsi korunmali olabilir. Salt okunur olabilir. CD'de olabir. Dosyanin özelliklerine bakarak salt okunurlugunu kaldirabilir veya yazdirilabilir bir ortama tasiyabilirsiniz.

Örnek:
Error[105] C:\KRSMSK1\KRSMSK1.ASM 7 : Cannot open file (Include File "M16F628.INC" not found)
Include dosyasinin adi yanlis yazildigindan hata veriyor

106 String substitution too complex
Dizileri olusturuken karistirmak. #define'leri kontrol edin.

107 Illegal digit
Geçersiz sayi kullanmak. Geçerli sayilar, Binary (ikilik) için; 0-1, Octal (sekizlik) için; 0-7, decimal (ondalik) için; 0-9, hexadecimal (onaltilik) için;0-9, a-f, ve A-F.

108 Illegal character
Etiketlerde geçersiz karakter kullanmak. Geçerli karakterler: alfabetik olanlar (a..f, A..F), sayisal (numeric) olanlar (0-9), the altçizgi (_), ve soru isareti. Etiketlere sayisal bir karakterle baslanmaz. Hatali yazilislarda.

Örnek:
Error[108] C:\KRSMSK1\KRSMSK1.ASM 49 : Illegal character (2)
Mesela DONGU2 olmasi gerekirken DONGU 2 seklinde 2 ayri yazilirsa.

109 Unmatched (
Parantezi açtiktan sonra kapatmamak. Örnek,
DATA (1+2

110 Unmatched )
Parantezi açmadayi unutarak kapatmak. Örnek,
DATA 1+2)

111 Missing symbol
Eksik sembol.

Örnek:
Error[111] C:\KRSMSK1\KRSMSK1.ASM 1 : Missing symbol
Programin açiklama satirlarinin basinda ( ; ) noktali virgül bulunmazsa.

;=============== olmasi gereken satir,
=============== seklinde olursa.

112 Missing operator
Aritmetik operatöre eksik ifade (tanim) vermek. Geçersiz islem tanimlandiginda.
Örnek:
DATA 1 2

Örnek:
Error[112] C:\KRSMSK1\KRSMSK1.ASM 30 : Missing operator
Islemde bir eksiklik oldugunu, geçersiz bir isleme zorlandigini ifade ediyor.

Mesela: Bir komut satirinin devamindaki açiklama yazisinnin basina noktali virgül ( ; ) konulmasi unutulursa bu hatayi veriyor.
CALL BEKLE ;Bekleme Yapilacak satiri CALL BEKLE Bekleme Yapilacak seklinde yazilirsa. Bu hatada 3 tane hata var diyor.

113 Symbol not previously defined
Sembolü önceden tanimlamamak. Olmasi gereken veya tanimlamaya uymayan degisken hatalari

Error[113] C:\KRSMSK1\KRSMSK1.ASM 9 : Symbol not previously defined (_CP_OFF)
Error[113] C:\KRSMSK1\KRSMSK1.ASM 9 : Symbol not previously defined (_DATA_CP_OFF)
...
Error[113] C:\KRSMSK1\KRSMSK1.ASM 37 : Symbol not previously defined (PORTB)
Error[113] C:\KRSMSK1\KRSMSK1.ASM 38 : Symbol not previously defined (PORTB)

Bu hatalar programda,
INCLUDE "P16F628.INC"
satirinin bulunmamasindan kaynaklandi.

Burada 19 tane hata listelendi. Asklinda hata sadece INCLUDE "P16F628.INC" satirinin olmamasindan kaynaklanmaktadir, bu satir eklendiginde hata düzeliyor.

Error[113] C:\KRSMSK1\KRSMSK1.ASM 9 : Symbol not previously defined (_INTRC_OSC_CLOKOUT)

Bu hata _INTRC_OSC_CLKOUT tanitiminin _INTRC_OSC_CLOKOUT seklinde yapilmasindan kaynaklandi. _INTRC_OSC_CLOKOUT yazisinin bilinmeyen bir sey oldugunu ifade ediyor.

Error[113] C:\KRSMSK1\KRSMSK1.ASM 52 : Symbol not previously defined (SAYAC1)

Bu hata SAYAC1 in bir degisken olarak, program içinde kullanilmasina ragmen program girisinde degisken olarak tanitilmamasindan kaynaklanmaktadir. SAYAC1 EQU h'20' programa yazilirsa hata düzelir.

Error[113] C:\KRSMSK1\KRSMSK1.ASM 51 : Symbol not previously defined (DONGU2)

Bu hata, alt programin basinda basliginin yazilmasinin unutulmdugunda olusuyor.

DONGU2    (unutmamak gerekiyor)
       DECFSZ SAYAC2, F
        GOTO DONGU2

114 Divide by zero
0 'a bölmek.

115 Duplicate label
Etiketi çogaltmak.

116 Address label duplicated or different in second pass
Adres etiketini çogaltmak veya baska yerde pas geçmek (unutmak).

117 Address wrapped around 0
0 sayisini adrese vermek. For PIC12/16 devces, the location counter can only advance to 0xFFFF. After that, it wraps back to 0. Error 117 is followed by error 118.

118 Overwriting previous address contents
Geriye dogru adres yazmak.

119 Code too fragmented
Kod parçalanmis.

120 Call or jump not allowed at this address
Adreste izin verilmeyen yere atlatmak veya izin verilmeyen yerden çagirmak.

121 Illegal label
Geçersiz etiket.

122 Illegal opcode
Geçersiz islem kodu. Geçersiz bir islem kodu bulundugunu ifade ediyor.

Örnek:
Error[122] C:\KRSMSK1\KRSMSK1.ASM 11 : Illegal opcode (h)

Bu hatada, SAYAC1 EQU h'20' olmasi gerken satirda EQU yazilmasi unutulacak olursa, SAYAC1 h'20' seklinde hatali yazilirsa.

123 Illegal directive
Geçersiz yön/yönlendirme.

124 Illegal argument
Geçersiz degisken, örnek:
bekleme yeri

125 Illegal condition
Geçersiz bir durumun (kosulun) olusmasi.

126 Argument out of range
Islem kodunda, degiskende veya yönlendirmede geçerli degerin disina tasma çikma. Örnek, TRIS 10.

127 Too many arguments
Karisik degisken çagirmak. Karisik nitelikli degiskene sahip makroyu çagirmak.

128 Missing argument(s)
Eksik degisken. Geçersiz Bir degisken tanimlandiginda
Error[128] C:\KRSMSK1\KRSMSK1.ASM 38 : Missing argument(s)

Mesela: BTFSS PORTB, 0 yerine BTFSS PORTB; 0 yazmissaniz,
Ayrica, konfigurasyon ayarlarinda eksiklik veya yanlislik varsa bu hatayi veriyor.

129 Expected
Bitisi veya çikisi saglayamama.

Örnek:
Error[129] C:\KRSMSK1\KRSMSK1.ASM 58 : Expected (END)
End yazmadan programin bitirilmesi halinde.

130 Processor type previously defined
A different family of processor is being selected.

131 Processor type is undefined
Islemci tipi belirtilmemis.

Örnek:
Error[131] C:\KRSMSK1\KRSMSK1.ASM 9 : Processor type is undefined
Error[122] C:\KRSMSK1\KRSMSK1.ASM 15 : Illegal opcode (PORTB)
Error[122] C:\KRSMSK1\KRSMSK1.ASM 16 : Illegal opcode (STATUS)
... hatalari listelemeye devam ediyor.

Programda Pic Processor tanitim satirinin bulunmamasi durumunda bu hata mesajini veriyor.
LIST P=16F628
satirinin eklenmediginde olusan bir hata. Toplam 28 tane hata oldugu bildirildi ama aslinda bir tane hata var. Bu hata haricindeki hatalar microislemcinin programa tanitilmamasindan dolayi program bütününde olusan ilgili hatalari göstermektedir. Burada eksik satir düzeltilirse tüm hatalar düzelmis olur.

132 Unknown processor
Bilinmeyen islemci. Tanitilan islemçi geçerli olanlardan seçilmemis..

133 Hex file format INHX32 required
32K HEX dosya formati gerekli.

134 Illegal hex file format
Tanimlamada geçersiz HEX formati yapilmis.

135 Macro name missing
Makro adi yok. Geçerli makro adi tanimlanmamis.

136 Duplicate macro name
Makro adinin kopyasi/tekrari yapilmis.

137 Macros nested too deep
The maximum macro nesting level was exceeded.

138 Include files nested too deep
The maximum include file nesting level was exceeded.

139 Maximum of 100 lines inside WHILE-ENDW
A while-endw can contain at most 100 lines.

140 WHILE must terminate within 256 iterations
A while-endw loop must terminate within 256 iterations. This is to prevent infinite assembly.

141 WHILEs nested too deep
The maximum while-endw nesting level was exceeded.

142 IFs nested too deep
The maximum if nesting level was exceeded.

143 Illegal nesting
Macros, if's and while's must be completely nested; they cannot overlap. If you have an if within a while loop, the endif must come before the endw.

144 Unmatched ENDC
endc found without a cblock.

145 Unmatched ENDM
endm found without a macro definition.

146 Unmatched EXITM
exitm found without a macro definition.

147 Directive/operation only allowed when generating an object file
The instruction/operand shown only has meaning when a linkable object file is generated. It cannot be used when generating absolute code.

148 Expanded source line exceeded 200 characters
The maximum length of a source line, after #define and macro parameter substitution, is 200 characters. Note that #define substitution does not include comments, but macro parameter substitution does.

149 Directive only allowed when generating an object file
Certain directives, such as global and extern, only have meaning when a linkable object file is generated. They cannot be used when generating absolute code.

150 Labels must be defined in a code or data section when making an object file
When generating a linkable object file, all data and code address labels must be defined inside a data or code section. Symbols defined by the equ and set directives can be defined outside of a section.

151 Operand contains unresolvable labels or is too complex
When generating an object file, operands must be of the form [high|low]([relocatable address label]+[offset]).

152 Executable code and data must be defined in an appropriate section
When generating a linkable object file, all executable code and data declarations must be placed within appropriate sections.

153 Page or Bank bits cannot be evaluated for the operand
The operand of a pagesel, banksel or bankisel directive must be a relocatable address label or a constant.

154 Each object file section must be contiguous
Object file sections, except udata_ovr sections, cannot be stopped and restarted within a single source file. To resolve this problem, either name each section with its own name or move the code and data declarations such that each section is contiguous. This error will also be generated if two sections of different types are given the same name.

155 All overlaid sections of the same name must have the same starting address
If multiple udata_ovr sections with the same name are declared, they must all have the same starting address.

156 Operand must be an address label
When generating object files, only address labels in code or data sections may be declared global. Variables declared by the set or equ directives may not be exported.

157 ORG at odd address
For PIC18 devices, you cannot place org at an odd address, only even. Consult your device data sheet.

158 Cannot use RES directive with odd number of bytes
For PIC18 devices, you cannot use res to specify an odd number of bytes, only even. Consult your device data sheet.

159 Cannot use FILL directive with odd number of bytes
For PIC18 devices, you cannot use fill to fill with data an odd number of bytes, only even. Consult your device data sheet.

160 CODE_PACK directive not available for this part;substituting CODE
The code_pack directive can only be used with byte-addressable ROM.

161 Non-negative value required for this context.
Some contexts require non-negative values.

162 Expected a section name
Some operators and pseudo-operators take section names as operands. The lexical form of a section name is that of an identifier, optionally prefixed with a `.'.

163 __CONFIG directives must be contiguous
Do not place other code between __config directive declarations.

164 __IDLOC directives must be contiguous
Do not place other code between __idloc directive declarations.

165 extended mode not available for this device
This PIC18 device does not support extended mode.

166 left bracket missing from offset operand
The left bracket is missing from an offset, i.e., [0x55.

167 right bracket missing from offset operand
The right bracket is missing from an offset, i.e., 0x55].

168 square brackets required around offset operand
Square brackets are required around an offset, i.e., [0x55]

169 access bit cannot be specified with indexed mode
When using indexed mode, the access bit cannot be specified.

170 expression within brackets must be constant
The expression specified within brackets is not a constant value.

171 address specified is not in access ram range of [0x60, 0xFF]
When making use of Access RAM, addressing must occur within the specified Access Bank range.

172 PCL, TOSL, TOSH, or TOSU cannot be destinatin of MOVFF or MOVSF
These registers cannot be written to with movff or movsf commands.

173 source file path exceeds 62 characters
MPASM assembler has a 62-character limit on source file path names, i.e., the length of the path plus the name of the file. See Assembler Limitations for more information.

### UNKNOWN ERROR
An internal application error has occurred. (### is the value of the last defined error plus 1.)
Gelin tanış olalım, işin kolayın tutalım
Sevelim sevilelim, dünya kimseye kalmaz
---------------------------------------------------
73's

Çevrimdışı bilgili

  • RadyoAmatörü
  • *
  • İleti: 5
Re:MPASM assembler hataları numaralı listesi
« Yanıtla #1 : 05 Ekim 2008, 23:17:23 »
elıne saglık wallaha sozluge bak geri don ugrastıryordu iyi oldu
73's

Çevrimdışı turkey45

  • Üye
  • *
  • İleti: 14
Re:MPASM assembler hataları numaralı listesi
« Yanıtla #2 : 17 Temmuz 2009, 00:20:12 »
teşekkürler hocam ellerine sağlık
AYDIN