Shr

Bitwise shift right operator - shifts bits right by specified amount

Keywords

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Int

Quick Summary

Bitwise shift right operator - shifts bits right by specified amount

Technical Exegesis...

Bitwise shift right operator - shifts bits right by specified amount. Syntax is value Shr count. Shifts the binary representation of the value right by count positions, filling with zeros on the left. Equivalent to integer division by 2^count. Used for fast division by powers of 2 or bit manipulation.

Example

Example.bam
; No example implemented yet