Gast
#2482246
Hallo Zusammen
Ich habe ein Problem mit der Verwendung des Inline Assembler.
_asm
lfsr FSR0,256
movlw 0
movff WREG,zaehl
movlw 0
loop1:
movff WREG,POSTINC0
incf WREG,f
decfsz zaehl,f
bra loop1
_endasm
Dieses Programm habe ich aus einem Buch und soll den interenen RAM
beschreiben. Leider kommt es zu einigen Fehlermeldungen.
Error [1250] 'lfsr' operand one must be a literal
Error [1250] 'incf' operand two must be a literal
Error [1251] 'incf' operand count mismatch
Error [1250] 'decfsz' operand two must be a literal
Error [1251] 'decfsz' operand count mismatch
Kann mir jemand helfen?
Danke.