Author |
Message |
Topic: dooble and RAMPZ? |
uga237
Replies: 1
Views: 348
|
Forum: BASCOM-AVR Posted: Sun Aug 11, 2019 5:33 pm Subject: dooble and RAMPZ? |
UPD:
Is this corrected in 2.0.8.2?
If D <> 0 Then
00000145 a8.e0 LDI R26,0x08
00000146 b0.e2 LDI R27,0x20
If D <> 0 Then
00000147 ee.e5 ... |
Topic: dooble and RAMPZ? |
uga237
Replies: 1
Views: 348
|
Forum: BASCOM-AVR Posted: Sun Aug 11, 2019 4:12 pm Subject: dooble and RAMPZ? |
No set RAMPZ for test Double with constant from CPU ROM(Flash)
$regfile = "xm256a3udef.dat"
$crystal = 32000000
Config Submode = New
$hwstack = 500
$swstack = 500
$framesize = 500
Confi ... |
Topic: AES Encryption (software based)? |
uga237
Replies: 7
Views: 966
|
Forum: BASCOM-AVR Posted: Fri Mar 16, 2018 2:24 pm Subject: AES Encryption (software based)? |
Of course there is the ! .org $someaddress
Please Add this to Help. Thank You! |
Topic: AES Encryption (software based)? |
uga237
Replies: 7
Views: 966
|
Forum: BASCOM-AVR Posted: Mon Mar 12, 2018 4:20 pm Subject: AES Encryption (software based)? |
AES-128 funtastic Bascom atxmega16e5(not have HW AES)
http://point-at-infinity.org/avraes/
Encrypt and decrypt one 128 bit block by 128 bit key.
Thank to Bascom for:
.align
Dont forge ... |
Topic: Error : 256 Line : 10 Single expected [ 301] |
uga237
Replies: 2
Views: 502
|
Forum: BASCOM-AVR Posted: Fri Feb 10, 2017 5:45 am Subject: Re: Error : 256 Line : 10 Single expected [ 301] |
Error?
Single??If I compile this rather questionable code, I get no error at all.
Don't know, what you're doing.
Btw., what sense would it make to use a constant as shown for a loop, and always g ... |
Topic: Error : 256 Line : 10 Single expected [ 301] |
uga237
Replies: 2
Views: 502
|
Forum: BASCOM-AVR Posted: Thu Feb 09, 2017 5:22 pm Subject: Error : 256 Line : 10 Single expected [ 301] |
Const Status VS Local Status.0
if use Status(not Status.0) - no error
----------------------------------------------------
Config Submode = New
Const Status = 08
Sub Sub1()
Local Stat ... |
Topic: Compile size |
uga237
Replies: 4
Views: 517
|
Forum: BASCOM-AVR Posted: Mon Mar 23, 2015 3:29 pm Subject: Compile size |
update... |
Topic: Compile size |
uga237
Replies: 4
Views: 517
|
Forum: BASCOM-AVR Posted: Mon Mar 23, 2015 3:02 pm Subject: Compile size |
ATXMEGA256
have 2.0.7.7 compiler - boot size 0x1FFE
have 2.0.7.8.001 compiler - boot size 0x2090
this is a main question.
code is the same in both cases.
compiler add 0x90 bytes. for what?
... |
Topic: Compile size |
uga237
Replies: 4
Views: 517
|
Forum: BASCOM-AVR Posted: Mon Mar 23, 2015 12:15 pm Subject: Compile size |
Hi Mark!
have 2.0.7.7 compiler - boot size 0x1FFE
have 2.0.7.8.001 compiler - boot size 0x2090
Error : 344 Line : 33 Program will overwrite bootloader (BASCOM-AVR version : 2.0.7.8 ) |
Topic: double < 0 |
uga237
Replies: 7
Views: 1112
|
Forum: BASCOM-AVR Archive Posted: Fri Aug 15, 2014 3:44 am Subject: double < 0 |
You ask about precision and have doubt about my skill? - no
Some time positive double value lower then Zero.
Why precision?
my code is very big size. i try simulate this on small code and post ... |
Topic: double < 0 |
uga237
Replies: 7
Views: 1112
|
Forum: BASCOM-AVR Archive Posted: Thu Aug 14, 2014 2:13 pm Subject: double < 0 |
Michael.
You don't understand my question about compare Double and Zero.
Think about.
Ivan. |
Topic: single/10000=? |
uga237
Replies: 1
Views: 505
|
Forum: BASCOM-AVR Archive Posted: Thu Aug 14, 2014 8:31 am Subject: single/10000=? |
$regfile = "xm256A3def.dat"
$crystal = 32000000
$hwstack = 500
$swstack = 500
$framesize = 500
$frameprotect = 1
Config Submode = New
Declare Sub Xxx()
Do
Call Xxx()
Loop
Sub ... |
Topic: double < 0 |
uga237
Replies: 7
Views: 1112
|
Forum: BASCOM-AVR Archive Posted: Thu Aug 14, 2014 6:05 am Subject: double < 0 |
http://wiki.mcselec.com/bavr/Language_Fundamentals/#Floating-Point_Complications - and? |
Topic: double < 0 |
uga237
Replies: 7
Views: 1112
|
Forum: BASCOM-AVR Archive Posted: Tue Aug 12, 2014 2:20 am Subject: double < 0 |
Dim test as double
test = 12345
IF test < 0 then 'some time fail
.
.
.
IF test < 0.0 then 'work good
.
.
.
why?
(BASCOM-AVR version : 2.0.7.7 ) |
Topic: call sub in interrupt |
uga237
Replies: 5
Views: 202
|
Forum: BASCOM-AVR Archive Posted: Tue Mar 26, 2013 4:31 pm Subject: call sub in interrupt |
"because it is not recommended to call user subs from an interrupt." - filosofy )
In r3,sreg
cli
...
Out sreg,r3
This no big code )
may be add info about "By default ... |
|