Search found 254 matches
- 21 Oct 2006 22:37
- Forum: mikroPascal for AVR General
- Topic: MMC Fat16 on Atmega128L ...
- Replies: 3
- Views: 4140
- 17 Oct 2006 09:09
- Forum: mikroPascal for AVR General
- Topic: Connect two atmega32 over SPI
- Replies: 1
- Views: 3388
- 17 Oct 2006 09:07
- Forum: mikroPascal for AVR General
- Topic: Some Questions to 4.00
- Replies: 2
- Views: 3627
- 12 Oct 2006 15:39
- Forum: mikroPascal General
- Topic: Overhead for the interrupt in ASM
- Replies: 13
- Views: 7690
- 12 Oct 2006 15:25
- Forum: mikroPascal General
- Topic: ASM linker error
- Replies: 2
- Views: 2166
Try next code before asm:
This line tells compiler that PIR1 is used and to link that register.
Code: Select all
PIR1:=PIR1;
- 12 Oct 2006 13:40
- Forum: mikroPascal General
- Topic: Bad working Soft UART on PIC12F675 with INTOSC
- Replies: 15
- Views: 11532
- 12 Oct 2006 12:44
- Forum: mikroPascal Wish List
- Topic: mikroBootloader - Serial Port Settings
- Replies: 1
- Views: 4385
- 11 Oct 2006 09:44
- Forum: mikroPascal for AVR General
- Topic: Error in ASM code - AVR Pascal V4.0
- Replies: 5
- Views: 5415
My bad, put in main program next:
If you do not use SREG in you main program, linker does not link SREG, and when you make interrupt rutine, compiler is saving SREG - but it's not linked than.
You have to use SREG in main program to enable interrupt, so it will work than.
Code: Select all
SREG := SREG;
You have to use SREG in main program to enable interrupt, so it will work than.
- 11 Oct 2006 09:37
- Forum: mikroPascal for AVR General
- Topic: Error in ASM code - AVR Pascal V4.0
- Replies: 5
- Views: 5415
This code is working with me, please post all code, not just segment and use "code" - you have a button in menu upper. Or you can email to me all project at: vanja@mikroe.com ps. code : asm SEI end; asm CLI end; You do not need, because in ver 4.00, compiler is taking care of it, all registers that ...
- 11 Oct 2006 08:12
- Forum: mikroPascal for AVR General
- Topic: Error in ASM code - AVR Pascal V4.0
- Replies: 5
- Views: 5415
- 10 Oct 2006 08:01
- Forum: mikroC General
- Topic: How to read and write JPEG image from SD card?
- Replies: 10
- Views: 8594
- 10 Oct 2006 07:53
- Forum: mikroPascal General
- Topic: ENC28J60 Mini Web Server Script Login not working!
- Replies: 3
- Views: 3006
- 10 Oct 2006 07:33
- Forum: mikroBasic General
- Topic: 0:0 E-0 Linker error: not found: 0 0
- Replies: 13
- Views: 7118
- 09 Oct 2006 15:05
- Forum: Development Boards
- Topic: Looking for my EasyPIC4
- Replies: 7
- Views: 5089
- 09 Oct 2006 14:57
- Forum: mikroBasic General
- Topic: 0:0 E-0 Linker error: not found: 0 0
- Replies: 13
- Views: 7118