6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 16, 2024 6:16 pm

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Tue Jun 16, 2020 10:47 pm 
Offline

Joined: Tue Jun 08, 2004 11:51 pm
Posts: 213
It sounds like a create does ( Builds Does ) or whatever works for your Forth.
It you want it to be smart to deal with numbers larger and smaller than 255 you could deal with as well.
Dwight


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 16, 2020 10:56 pm 
Offline

Joined: Tue Jun 08, 2004 11:51 pm
Posts: 213
For fig, I think this works:

: C-CONSTANT
<BUILDS C,
DOES> C@ ;

It can be faster but this is about as simple as I can get.
Dwight


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


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 post attachments in this forum

Search for:
Jump to: