Anonymous user
Bitwise operations: Difference between revisions
m
→{{header|Modula-3}}
m (→[[Bitwise operations#ALGOL 68]]: fix typo) |
|||
Line 605:
IO.Put("NOT a: " & Fmt.Int(Word.Not(a)) & "\n");
c := a;
IO.Put("c LeftShift b: " & Fmt.Unsigned(Word.LeftShift(
IO.Put("c RightShift b: " & Fmt.Unsigned(Word.RightShift(
IO.Put("c LeftRotate b: " & Fmt.Unsigned(Word.LeftRotate(
IO.Put("c RightRotate b: " & Fmt.Unsigned(Word.RightRotate(
END Bitwise;
|