dst \ t %load-reference
"end" get resolve-label ; inline
- : %boolean ( dst temp cc -- )
+ :: %boolean ( dst temp cc -- )
cc negate-cc order-cc {
- { cc< [ dst temp \ BLT (%boolean) ] }
- { cc<= [ dst temp \ BLE (%boolean) ] }
- { cc> [ dst temp \ BGT (%boolean) ] }
- { cc>= [ dst temp \ BGE (%boolean) ] }
- { cc= [ dst temp \ BEQ (%boolean) ] }
- { cc/= [ dst temp \ BNE (%boolean) ] }
+ { cc< [ dst temp \ BLT f (%boolean) ] }
+ { cc<= [ dst temp \ BLE f (%boolean) ] }
+ { cc> [ dst temp \ BGT f (%boolean) ] }
+ { cc>= [ dst temp \ BGE f (%boolean) ] }
+ { cc= [ dst temp \ BEQ f (%boolean) ] }
+ { cc/= [ dst temp \ BNE f (%boolean) ] }
} case ;
: (%compare) ( src1 src2 -- ) [ 0 ] dip CMP ; inline