CHK

Current instruction/data checksum

@CHK()

Description

Returns the current instruction/data checksum value as an integer. Useful in conjunction with the CK, NOCK, and CONTCK Assembler options (see the OPT directive).

Note that assignment of the checksum value with directives other than SET could cause phasing errors due to different generated instruction values between passes.

Example

CHKSUM SET @CHK()