Ancient VM
Search…
.ceq
Classic equal cells
Note: result of executing the instruction is u2 (boolean)
1
; [resultCell] = [X] == [Y]
2
; result cell force set u2 type
3
.ceq &(resultCell) <| &(X) &(Y)
Copied!
1
; Equal [X] and [Y] and store result into stack
2
.ceq &(X) &(Y)
Copied!
Note: When stage u2 into stack - type is not saved
1
; pull X and Y from stack and equal and stage result into [resultCell]
2
.ceq &(resultCell)
Copied!
OpCode
0xC5
Last modified 1yr ago
Copy link