Author Topic: Proposed symbols for bit rotation  (Read 1124 times)

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 3745
    • Oxygen Basic
Proposed symbols for bit rotation
« on: June 21, 2013, 06:15:45 AM »
Operator alternative to assembly code instructions.

Useful for randomisers, noise functions, and hash generators:

<<< rotate bits left
>>>  rotate bits right

sys x=0x80000000
sys y=0x5

print x<<<y 'result 0x10 (16)

John

  • Hero Member
  • *****
  • Posts: 3249
Re: Proposed symbols for bit rotation
« Reply #1 on: June 21, 2013, 07:02:57 AM »
That is going to be helpful for the O2 MD5 code challenge.

Nice work Charles!