diff options
author | cpldcpu <cpldcpu@gmail.com> | 2014-02-18 14:25:22 +0100 |
---|---|---|
committer | cpldcpu <cpldcpu@gmail.com> | 2014-02-18 14:25:22 +0100 |
commit | 2f4e15618806534398887eb4697c1fce380177e5 (patch) | |
tree | 2aa2d89f84b51d6fa676d340c4fed9df6c486ec4 /firmware | |
parent | b74ff002d11a29d77ac2be2493384da662512776 (diff) | |
download | micronucleus-2f4e15618806534398887eb4697c1fce380177e5.tar.gz micronucleus-2f4e15618806534398887eb4697c1fce380177e5.tar.bz2 micronucleus-2f4e15618806534398887eb4697c1fce380177e5.zip |
firmware: far jmp support in crt1.s
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/crt1.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/crt1.S b/firmware/crt1.S index be5aef4..b018ff1 100644 --- a/firmware/crt1.S +++ b/firmware/crt1.S @@ -43,7 +43,12 @@ #include <avr/io.h> //#include <avr/pgmspace.h> +#ifdef __AVR_HAVE_JMP_CALL__ + #define XJMP jmp +#else #define XJMP rjmp +#endif + #define XCALL rcall .macro vector name |