RosettaCodeData/Task/Bitwise-operations/Fortran/bitwise-operations-2.f

2 lines
107 B
FortranFixed
Raw Permalink Normal View History

2013-04-10 16:19:29 -07:00
call mvbits(k, 2, 4, j, 0) ! copy a sequence of 4 bits from k starting at bit 2 into j starting at bit 0