Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Any chance of a 64bit integer data type in the future?

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-8051
View previous topic :: View next topic  
Author Message
hawkfire

Bascom Member



Joined: 15 Oct 2006
Posts: 16
Location: N.Wales U.K.

uk.gif
PostPosted: Mon Oct 28, 2024 4:04 pm    Post subject: Any chance of a 64bit integer data type in the future? Reply with quote

Laughing

Would make Bascom 8051 very powerful indeed. C compilers supporting these data types are over £1500.
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6187
Location: Holland

blank.gif
PostPosted: Thu Nov 07, 2024 8:45 pm    Post subject: Reply with quote

the 8051 does not have much space for such a data type. it would only make sense when xram is used.
or how do you see this?
we will do some work on the 8051 soon to integrate new processors. and probably to face lift the IDE but that is a point of discussion.
while support for new processors is confirmed, the other work is not, we will evaluate the customer bare that still uses/upgrades the software before we do so.

of course users with deep pockets can always sponsor a feature Very Happy

_________________
Mark
Back to top
View user's profile Visit poster's website
hawkfire

Bascom Member



Joined: 15 Oct 2006
Posts: 16
Location: N.Wales U.K.

uk.gif
PostPosted: Sun Nov 10, 2024 2:18 pm    Post subject: Reply with quote

albertsm wrote:
the 8051 does not have much space for such a data type. it would only make sense when xram is used.
or how do you see this?


Thats true, but there is enough space in IRAM for 64 bit data types, if the programmer uses just a few of them, alternatively, I currently use Microchip AT89LP51RD2 which has 2kbyte of XRAM, it runs at 20mips and its available low cost and in 40pdil.

Also, I would also take this opportunity in saying, Bascom 8051 is the worlds best and leading basic compiler for the 8051. Very Happy Why not make it even better?

Also, if you are going to do future updates for Bascom 8051, then please fix the exchange digit(xchd) and the (movx @R0,a movx a,@R0) instructions so that they are correctly interpreted by the compiler in asm end asm statements.

Cheers
Darren
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6187
Location: Holland

blank.gif
PostPosted: Mon Nov 11, 2024 9:28 pm    Post subject: Reply with quote

if you think there is a problem or bug please send an email to support. and provide a clear description.
_________________
Mark
Back to top
View user's profile Visit poster's website
Alex-Dan

Bascom Member



Joined: 25 Jan 2025
Posts: 16
Location: S.Posad

russia.gif
PostPosted: Sun Mar 02, 2025 10:37 am    Post subject: Reply with quote

Basсom-AVR has a rich selection of variable types.
Unfortunately, Basсom-8051 lacks the most needed variable types - Dword, and the ability to overlay variables
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6187
Location: Holland

blank.gif
PostPosted: Mon Mar 03, 2025 9:27 pm    Post subject: Reply with quote

i will see what i can do. the simplest wishes (short develop time and documentation) will be implemented first. it also depends on the number of users that need it.
note that wishes are best sent to support. while you might not get a direct answer it is the only place where it is monitored. i will check the forum too but i might overlook it.

_________________
Mark
Back to top
View user's profile Visit poster's website
Alex-Dan

Bascom Member



Joined: 25 Jan 2025
Posts: 16
Location: S.Posad

russia.gif
PostPosted: Fri Mar 14, 2025 12:26 pm    Post subject: Reply with quote

Mark, we'll be looking forward to this addition to the compiler's capabilities!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-8051 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum