Search found 1 match

by joerg
Sun Oct 28, 2018 11:28 am
Forum: Oberon Language
Topic: BIT WISE AND/OR operation
Replies: 5
Views: 6991

Re: BIT WISE AND/OR operation

Din The statement „X (bitwise and) 0xFF“ is in Oberon „X MOD 256“ (or „X MOD 100H“ if you prefer hex). The compiler will tranlate this to a bitwise AND instead of a remainder of a division as the divisor is a power of two. Her a possible way to code your procedure: PROCEDURE w5500Send(offset: INTEGE...