y= a bitcmp b
a bitcmp b performs the b bit complement of a. Both a and b are treated as 32-bit (4-byte) integer values, so an eventual fraction will be ignored.
In 20-sim, all bitwise function arguments are treated as 32-bit integers. Thus the binary representation of 30 (ignoring leading zeroes) is equal to 11110 as shown in the figure below. The operator 30 bitcmp 9 performs the 9 bit complement of 30. This gives the binary value 111100001 which corresponds with the decimal value 481.
a and b must be integers.