CMP64 ACC:P
6-78
Example
; If 64-bit VarA > 64-bit VarB, branch:
CMP64 ACC:P ; Clear V flag
MOVL P,@VarA+0 ; Load P with low 32 bits of VarA
MOVL ACC,@VarA+2 ; Load ACC with high 32 bits of VarA
SUBUL P,@VarB+0 ; Sub from P unsigned low 32 bits of VarB
SUBBL ACC,@VarB+2 ; Sub from ACC with borrow high 32 bits of VarB
CMP64 ACC:P ; Set Z,N flags appropriately for ACC:P
SB Dest,GT ; branch if VarA > VarB