2* "two-times" ( x1 -- x2 )


Forth79Forth83ANSIForth200x
X X X


x2 is the result of shifting x1 one bit toward the most-significant bit, filling the vacated least-significant bit with zero.
x1 wird um ein Bit nach links geschoben und das ergibt x2. In das nie­derwertigste Bit wird eine Null geschrieben. Die Operation 2 * wirkt ge­nauso.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 03-Feb-2023 16:21 by Carsten Strotmann  
G’day (anonymous guest) My Prefs
© 2010-2021 AtariWiki
All content in the Wiki is licensed under Creative Commons Share Alike License, unless otherwise noted.
JSPWiki v2.8.3