6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu May 09, 2024 6:40 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Dec 03, 2011 4:04 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10800
Location: England
Stumbled across this, from Forth Dimensions Vol2 (also here on Google docs) - page 7.

Bill Powell suggests a scheme of using a single byte for the most frequently used Forth words. He shifts left, then branches on the carry and then optionally on the sign bit. This gives a two-byte coding for a COLON instruction, and a one-byte coding for 64 literals and 64 fast single-byte p-codes.

He summarises thus:
Code:
               TINY  JSR/RTS  DTC   ITC
Time overhead   78%    66%    89%  100%
Space required  66%   103%   104%  100%
(By time overhead I think he must mean a time multiplier)

Hope that's a fair rendering of his idea!

Cheers
Ed


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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: