test_bit

Description

This function tests a bit within a byte.

Definition

test_bit(uint id)

Library

LIB/bit_lib.bas

Usage

On entry:
id is the absolute bit address within the data space
On exit:
returns 0 if the bit tested is 0, returns 1 if the bit tested is 1