> ## Documentation Index
> Fetch the complete documentation index at: https://voltaire.tevm.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Bitwise

> Auto-generated API documentation

[**@tevm/voltaire**](../../index.mdx)

***

[@tevm/voltaire](../../index.mdx) / [evm](../index.mdx) / Bitwise

# Bitwise

## Functions

### AND()

> **AND**(`frame`): [`EvmError`](../index.mdx#evmerror) | `null`

Defined in: [src/evm/bitwise/0x16\_AND.js:7](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/evm/bitwise/0x16_AND.js#L7)

AND opcode (0x16) - Bitwise AND

#### Parameters

##### frame

[`BrandedFrame`](../index.mdx#brandedframe)

Frame instance

#### Returns

[`EvmError`](../index.mdx#evmerror) | `null`

Error if any

***

### BYTE()

> **BYTE**(`frame`): [`EvmError`](../index.mdx#evmerror) | `null`

Defined in: [src/evm/bitwise/0x1a\_BYTE.js:7](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/evm/bitwise/0x1a_BYTE.js#L7)

BYTE opcode (0x1a) - Extract byte from word

#### Parameters

##### frame

[`BrandedFrame`](../index.mdx#brandedframe)

Frame instance

#### Returns

[`EvmError`](../index.mdx#evmerror) | `null`

Error if any

***

### NOT()

> **NOT**(`frame`): [`EvmError`](../index.mdx#evmerror) | `null`

Defined in: [src/evm/bitwise/0x19\_NOT.js:7](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/evm/bitwise/0x19_NOT.js#L7)

NOT opcode (0x19) - Bitwise NOT

#### Parameters

##### frame

[`BrandedFrame`](../index.mdx#brandedframe)

Frame instance

#### Returns

[`EvmError`](../index.mdx#evmerror) | `null`

Error if any

***

### OR()

> **OR**(`frame`): [`EvmError`](../index.mdx#evmerror) | `null`

Defined in: [src/evm/bitwise/0x17\_OR.js:7](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/evm/bitwise/0x17_OR.js#L7)

OR opcode (0x17) - Bitwise OR

#### Parameters

##### frame

[`BrandedFrame`](../index.mdx#brandedframe)

Frame instance

#### Returns

[`EvmError`](../index.mdx#evmerror) | `null`

Error if any

***

### SAR()

> **SAR**(`frame`): [`EvmError`](../index.mdx#evmerror) | `null`

Defined in: [src/evm/bitwise/0x1d\_SAR.js:7](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/evm/bitwise/0x1d_SAR.js#L7)

SAR opcode (0x1d) - Arithmetic shift right (EIP-145, Constantinople+)

#### Parameters

##### frame

[`BrandedFrame`](../index.mdx#brandedframe)

Frame instance

#### Returns

[`EvmError`](../index.mdx#evmerror) | `null`

Error if any

***

### SHL()

> **SHL**(`frame`): [`EvmError`](../index.mdx#evmerror) | `null`

Defined in: [src/evm/bitwise/0x1b\_SHL.js:7](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/evm/bitwise/0x1b_SHL.js#L7)

SHL opcode (0x1b) - Shift left (EIP-145, Constantinople+)

#### Parameters

##### frame

[`BrandedFrame`](../index.mdx#brandedframe)

Frame instance

#### Returns

[`EvmError`](../index.mdx#evmerror) | `null`

Error if any

***

### SHR()

> **SHR**(`frame`): [`EvmError`](../index.mdx#evmerror) | `null`

Defined in: [src/evm/bitwise/0x1c\_SHR.js:7](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/evm/bitwise/0x1c_SHR.js#L7)

SHR opcode (0x1c) - Logical shift right (EIP-145, Constantinople+)

#### Parameters

##### frame

[`BrandedFrame`](../index.mdx#brandedframe)

Frame instance

#### Returns

[`EvmError`](../index.mdx#evmerror) | `null`

Error if any

***

### XOR()

> **XOR**(`frame`): [`EvmError`](../index.mdx#evmerror) | `null`

Defined in: [src/evm/bitwise/0x18\_XOR.js:7](https://github.com/evmts/voltaire/blob/bd6ec34405c15ad8cd51d11579d495dc53813482/src/evm/bitwise/0x18_XOR.js#L7)

XOR opcode (0x18) - Bitwise XOR

#### Parameters

##### frame

[`BrandedFrame`](../index.mdx#brandedframe)

Frame instance

#### Returns

[`EvmError`](../index.mdx#evmerror) | `null`

Error if any
