Description
Signature
number nxa.LowByte (number)
Extracts the low byte of the value.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value |
Return
Type | Description |
---|---|
number | low byte of the value |
Description
Signature
number nxa.HiByte (number)
Extracts the high byte of the value.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value |
Return
Type | Description |
---|---|
number | high byte of the value |
Description
Signature
number nxa.LowWord (number)
Extracts the low word of the value.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value |
Return
Type | Description |
---|---|
number | low word of the value |
Description
Signature
number nxa.HiWord (number)
Extracts the high word of the value.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value |
Return
Type | Description |
---|---|
number | high word of the value |
Description
Signature
boolean nxa.IsBitSet (number, number)
Checks if bit is set.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value | |
number | M | bit position |
Return
Type | Description |
---|---|
boolean | if bit was set it will be true, otherwise false |
Description
Signature
number nxa.SetBit (number, number)
Set bit at certain position.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value | |
number | M | bit position |
Return
Type | Description |
---|---|
number | result of changed bit |
Description
Signature
number nxa.ResetBit (number, number)
Reset bit at certain position.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value | |
number | M | bit position |
Return
Type | Description |
---|---|
number | result of changed bit |
Description
Signature
number nxa.ResetBit (number, number)
Reset bit at certain position.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value | |
number | M | bit position |
Return
Type | Description |
---|---|
number | result of changed bit |
Description
Signature
number nxa.SetLoByte (number, number)
Sets the low byte in the value.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value | |
number | M | byte value |
Return
Type | Description |
---|---|
number | result of changed value |
Description
Signature
number nxa.SetHiByte (number, number)
Sets the high byte in the value.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value | |
number | M | byte value |
Return
Type | Description |
---|---|
number | result of changed value |
Description
Signature
number nxa.SetLoWord (number, number)
Sets the low low word in the value.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value | |
number | M | word value |
Return
Type | Description |
---|---|
number | result of changed value |
Description
Signature
number nxa.SetHiWord (number, number)
Sets the high word in the value.
Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
number | M | value | |
number | M | word value |
Return
Type | Description |
---|---|
number | result of changed value |