Purpose: | To compare a bit field with a long word. | ||||||
Format: | opcode startpos.rl, size.rb, base.vb, src.rl | ||||||
Operation: |
CMPV: temp <- sign-extended {extracted field}; CMPZV: temp <- zero-extended {extracted field}; {compare temp with src}; |
||||||
Condition Codes: |
N <- temp LSS src; Z <- temp EQL src; V <- 0; C <- temp LSSU src; |
||||||
Exceptions: | Reserved Operand | ||||||
Opcodes: |
|
||||||
Description: | A field specified by the start position, size and base operands is extracted into a temporary long word and sign-extended for CMPV or zero-extended for CMPZV. The temporary long word is compared with the source operand and the condition codes set or cleared as detailed above. | ||||||
Notes: |
|