Guest User

Untitled

a guest
Feb 19th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. : min ( a b -- min[a,b] )
  2.     2dup <      ( a b [a<b] )
  3.             ( a<b            b<=a          )
  4.     dup 0=      ( a b 0xFF 0x00  a b 0x00 0xFF )
  5.     rot and     ( a 0xFF 0       a 0x00 b      )
  6.     rot rot     ( 0 a 0xFF       b a 0x00      )
  7.     and or ;    ( a              b             )
Add Comment
Please, Sign In to add comment