-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More byte squeezing #10
Comments
Also, error: could use |
And since >IN depends on TIB being 0, using |
If you want so squeeze more consider : : TIB 0 ; I could be wrong but that looks like 10 bytes cut out of the BIN file. We can remove 0= or 0# or whatever with the swapbyte and leftshift / leftsmear key and emit need to go, but that will probably not save any space. -Gar. |
Here is the 0= , lshift, rshift, rrot and lrot <, > etc. : lshift dup + ; : lsmear dup lshift or ; ; drop2under swap drop swap drop ; : swapbyte dup sp@ 1 + @ drop2under ; (this is the equivalent of rotate right 8 bits ) : <>0 lsmear16 swapbyte lshift swapbyte lsmear16 ; : 2* dup + ; : bit0to15 lshift15 ; : rshifthigh swapbyte 255 and lshift7 : : rrot dup rshift swap bit0to15 or ; There is probably errors in there, but you get the idea. |
Another 4 bytes can be saved in find:
The text was updated successfully, but these errors were encountered: